question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

UnhandledPromiseRejectionWarning: Could not connect to socket

See original GitHub issue

Getting this since this morning:

UnhandledPromiseRejectionWarning: Could not connect to socket

When running

node entrypoints/cli.js buy 1 MKR Worked fine yesterday.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
perichcommented, Feb 14, 2019

Yeah it sounds like AirSwap is rate limiting the WS connections. I’ll add some handling for this type of exception and make it so that the AirSwap class returns a descriptive error message about what’s happening in the results object. Thanks for the bug report @calbertuk

Read more comments on GitHub >

github_iconTop Results From Across the Web

Socket.IO: "UnhandledPromiseRejectionWarning: Error ...
The error message says: Socket.IO: “UnhandledPromiseRejectionWarning: Error: Callbacks are not supported when broadcasting” But in fact when ...
Read more >
ESOCKET Connection Error from node js web app to MSSql ...
After getting socket error, it is continuously throwing for all the subsequent requests. Any suggestion or recommendation would really help us.
Read more >
NodeJS - What does socket hang up actually mean - Edureka
When you're a customer, When you send a request to a distant server as a client and don't get a response in a...
Read more >
Client network socket disconnected before secure TLS ...
I am using MongoClient in NodeJs to carry out Db operations, I am running into connection and db caching issues,
Read more >
HTTP Request "Error: socket hang up" - Node-RED Forum
Hi, Short version of the problem: I am sending a URL to an http request node to control my air conditioning, but node...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found