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

node:events:504 throw er; // Unhandled 'error' event #14

Closed
abdelhalimemara opened this issue Jun 3, 2023 · 0 comments
Closed

node:events:504 throw er; // Unhandled 'error' event #14

abdelhalimemara opened this issue Jun 3, 2023 · 0 comments

Comments

@abdelhalimemara
Copy link

Hi Guys,
so when i try to run the bot i always get this error
node:events:504
throw er; // Unhandled 'error' event
^

Error: Unexpected server response: 404
at ClientRequest. (/Users/abdelhalimemara/Desktop/AE-CR/Subway Bot/subway/bot/node_modules/ws/lib/websocket.js:604:7)
at ClientRequest.emit (node:events:526:28)
at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:618:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:128:17)
at TLSSocket.socketOnData (node:_http_client:482:22)
at TLSSocket.emit (node:events:526:28)
at addChunk (node:internal/streams/readable:315:12)
at readableAddChunk (node:internal/streams/readable:289:9)
at TLSSocket.Readable.push (node:internal/streams/readable:228:10)
at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)
Emitted 'error' event on WebSocket instance at:
at abortHandshake (/Users/abdelhalimemara/Desktop/AE-CR/Subway Bot/subway/bot/node_modules/ws/lib/websocket.js:731:15)
at ClientRequest. (/Users/abdelhalimemara/Desktop/AE-CR/Subway Bot/subway/bot/node_modules/ws/lib/websocket.js:604:7)
[... lines matching original stack trace ...]
at TLSSocket.Readable.push (node:internal/streams/readable:228:10)
error Command failed with exit code 1.

any ideas what i can do?

@libevm libevm closed this as completed Jun 3, 2023
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

2 participants