node icon indicating copy to clipboard operation
node copied to clipboard

node v18 experiences ECONNRESET, node v20 doesn't?

Open ORESoftware opened this issue 1 year ago • 8 comments

Version

18 vs 20

Platform

macos

Subsystem

No response

What steps will reproduce the bug?

On Node 18, I get this a lot (with no errors logged):

Error: connect ECONNRESET 127.0.0.1:6969
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1300:16) {
  errno: -54,                         #### errno -54....?
  code: 'ECONNRESET',
  syscall: 'connect',
  address: '127.0.0.1',
  port: 6969
}

on Node v20, I don't seem to see the above error (-54)

How often does it reproduce? Is there a required condition?

perhaps if server gets overwhelmed?

What is the expected behavior? Why is that the expected behavior?

expect to not get an error with no error trace in console (no clear cause)

What do you see instead?

N/A

Additional information

N/A

ORESoftware avatar Oct 26 '23 01:10 ORESoftware