Skip to content

node v18 experiences ECONNRESET, node v20 doesn't? #50403

@ORESoftware

Description

@ORESoftware

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    stalev18.xIssues that can be reproduced on v18.x or PRs targeting the v18.x-staging branch.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions