[Node] Error: socket hang up

{"name":"car","hostname":"car-backend-6b468497b6-z8rb5","pid":29,"level":50,"msg":"{\"error\":{\"code\":\"ECONNRESET\",\"name\":\"Error\",\"message\":\"socket hang up\",\"stack\":\"Error: socket hang up\\n at createHangUpError (_http_client.js:332:15)\\n at Socket.socketOnEnd (_http_client.js:435:23)\\n at Socket.emit (events.js:203:15)\\n at Socket.EventEmitter.emit (domain.js:448:20)\\n at Shim.applySegment (/srv/app/node_modules/newrelic/lib/shim/shim.js:1428:20)\\n at Socket.wrapper [as emit] (/srv/app/node_modules/newrelic/lib/shim/shim.js:2078:17)\\n at endReadableNT (_stream_readable.js:1145:12)\\n at process._tickCallback (internal/process/next_tick.js:63:19)\"},\"_message\":\"\"}","time":"2022-09-13T16:41:32.501Z","v":0}

Hello @vikas.kumar12.

Welcome to the community!

Would you kindly provide a link to your application? I am going to loop in one of our support engineers as I am not one and this is far out of my scope. This link will only be accessible by New Relic admins and will help our support team pinpoint what could be causing this for you. We hope to hear from you soon!

Hi @vikas.kumar -
It’s not clear how this error is connected to New Relic. We’ll need some further information to proceed:

What versions of Node and the Node Agent are you running? Moreover, does this error happen when you don’t run the Node agent?

Hi @sbedi we are using little older versions currently “newrelic”: “7.5.2” & Nodejs 10. x.x but do you think this is related to node and node agent versions?

@vikas.kumar12 - From what we can see, it does not look like it is connected to New Relic. To test this, please try running the app without the agent to see if the problem still happens.