You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Why only in MAC?: Nodejs proxy ECONNRESET only in Mac

Our software development technology gets most of its errors on my Mac. The guys using Ubuntu and they have no errors I get errors. I can't even take it as a joke anymore when they say 'because Mac is s**t.


One of the errors is random ECONNRESET error happening when the api in the application calls proxy url.


Only I am getting this. and most of the api calls are running fine. In network monitor they say OK 200, log says no error but node/angular-cli shows this error on certain calls, and it is random, or in every certain number of calls. May be there is a special character or something forcing connection reset.


Here is my proxy-conf.json


{

"/emport-api/**": {

"target": "http://localhost:8080",

"secure": false,

"logLevel": "debug",

"changeOrigin": true
}

}


Can Apple please let me know of a fix for this? Or at least what causes it and what we need to change?

Mac Book Pro (Intel), macOS High Sierra (10.13.6), null

Posted on Oct 10, 2018 3:28 AM

Reply

Similar questions

1 reply

Oct 10, 2018 4:59 AM in response to kultigin

It would be more accurate to say that things like nodejs are usually only tested and run on Linux. The most likely cause is an error deep within your application stack. Given the size if anything nodejs, I doubt you’ll ever find it. The error could exist for all platforms and just isn’t noticed on Linux. Or perhaps the bug is only in some poorly tested Mac port.


But the truth is that no one would ever run such a service on a Mac in real life. Just ignore it. I’m sure Apple will never lift a finger to investigate. Apple uses Linux too for most server-side work.

Why only in MAC?: Nodejs proxy ECONNRESET only in Mac

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.