-
Notifications
You must be signed in to change notification settings - Fork 17
Error: read ECONNRESE #8
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
Comments
Hey! I'm not too sure, looks like it's a problem in one of the import libraries, specifically net.js Could you try binding to another port. I also just merged a PR that might contain a fix, if you don't mind testing with that. |
Thank you |
Not sure if this is strictly related, but just hit the following error, which crashed out the program:
It was for a domain that doesn't currently have an A record. At this stage, not sure where it grabbed that from.. somewhere in the application I presume, it happened during a huge stream of other websocket messages. |
@0xdevalias is right, there was a missing error handler for the http.request Thus any exception while trying to connect to a remote server, be it connection refused or DNS not resolving, the whole proxy would crash. I've added an error handler and made a PR (#9). Otherwise my fork has an updated version: https://github.com/staaldraad/wsproxy |
@staaldraad Awesome! Thanks for that :3 |
Running your updated version, seem to have managed to hit it again (or similar)
|
I got this error when run wsproxy
events.js:141
throw er; // Unhandled 'error' event
^
Error: read ECONNRESET
at exports._errnoException (util.js:907:11)
at TCP.onread (net.js:561:26)
After that, it crash
Do you have any solutions for this problems??
Tks!
The text was updated successfully, but these errors were encountered: