HTTP.get ECONNRESET


#1

I am using http package to pull data from a web service hosted on IIS.

var result = HTTP.get("https://my_url/api", { params:{a:b}, auth:"user:password"});

All of a sudden it started throwing ECONNRESET on development pc. I tried with node https directly; same result. I tried every solution suggested after google search; keep alive, port 443 etc. Nothing seems to make a difference.

On production server it is still working.
On development I can get data with Postman from that url.
On development with node any other url works but not that url.

IIS logs doesn’t even show any request. I am out of ideas. Any pointers will be much appreciated.