Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught ECONNREFUSED connection error #48

Open
omusil24 opened this issue Dec 18, 2020 · 2 comments
Open

Uncaught ECONNREFUSED connection error #48

omusil24 opened this issue Dec 18, 2020 · 2 comments

Comments

@omusil24
Copy link

omusil24 commented Dec 18, 2020

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

@VaclavObornik
Copy link

I can confirm the issue, we are getting "getaddrinfo EAI_AGAIN logs-01.loggly.com" error sometimes and it crashes the app because of error handling lack

@whtswrng
Copy link

Thank you for reporting this issue. We are now tracking this issue internally as LOG-12016.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants