A simple tcp server I had for serving the flash policy file was causing this. I can now catch the error using a handler:

# serving the flash policy file
net = require("net")

net.createServer((socket) =>
  //just added
  socket.on("error", (err) =>
    console.log("Caught flash policy server socket error: ")

  socket.write("<?xml version=\"1.0\"?>\n")
  socket.write("<!DOCTYPE cross-domain-policy SYSTEM \"http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd\">\n")
  socket.write("<allow-access-from domain=\"*\" to-ports=\"*\"/>\n")

How do I debug error ECONNRESET in Node.js? - Stack Overflow


But one thing's for sure: you indeed have a read error on your TCP connection which causes the exception. You can see that by looking at the ...

Error: read ECONNRESET · Issue #147 · request/request-promise ...


Aug 20, 2016 ... Error: read ECONNRESET is the primary cause and says that your connection/ request got cancelled on the TCP/IP level. This may have many ...

ConnectionError: Connection lost - read ECONNRESET (Node.JS ...


Aug 6, 2020 ... JS Error). This is a node.js application im running on my local PC not on any azure service, However i am connecting to an azure mssql ...

REST API Error: read ECONNRESET - Marketing Nation


Jan 22, 2020 ... When trying to call the REST API associated to our subscription, we get the http error : Error: read ECONNRESET Everything seems configured.

What does “Error: read ECONNRESET” mean? - Quora


This error simply means that the other side closed the connection in a way that was probably not normal (or may be in a hurry). An example is: a socket ...

如何解决Keep-Alive 导致ECONNRESET 的问题- 知乎


2019年10月15日 ... Error: read ECONNRESET at TCP.onStreamRead (internal/ stream_base_commons.js:111:27) Emitted 'error' event at: at Socket.

Error "read ECONNRESET" displayed while running Postman ...


Oct 28, 2020 ... I am running a simple Collection with API requests having Environment variables in endpoints and request body as well. Also, I have some test ...

Absolutely baffled why I am getting Error: read ECONNRESET when ...


Dec 14, 2020 ... Error: read ECONNRESET is a problem in Node.js. There seesm to be something wrong yout TCP connection setup. Can you share a code ...