Skip to content

Uncaught ECONNREFUSED connection error #48

@omusil24

Description

@omusil24

Error

Got this error a few times now which crashed my server:

uncaught exception Error: connect ECONNREFUSED 52.21.83.61:443
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1145:16) {
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '52.21.83.61',
  port: 443
}

####
...
# same error with IP 75.101.233.97

Found out that the IPs are both of the logs-01.loggly.com server which is used for uploading logs. Obviously some kind of error handling seems to be missing here.

Versions

Node.js: 12.19.1
node-loggly-bulk: 2.2.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions