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

Getting error websocket.js:39 WebSocket connection to 'ws://localhost:3000/socket.io/?EIO=4&transport=websocket' failed: again and again #5027

Open
shashankgarg4 opened this issue May 14, 2024 · 4 comments

Comments

@shashankgarg4
Copy link

shashankgarg4 commented May 14, 2024

Hello i am using socket.io-client package in my frontend react project this is my frontend code
image
and in backend my code is setup in node js this is my node js code so initially socket gets connected and prints in console "user is connected" then after sometime it shows error in console in loop
image

image
image
image

Can you please tell me why this error is coming thanks @darrachequesne @maccman

@shashankgarg4 shashankgarg4 added the to triage Waiting to be triaged by a member of the team label May 14, 2024
@zhiblcx
Copy link

zhiblcx commented Aug 26, 2024

解决了吗

@darrachequesne
Copy link
Member

Hi! Did you find the culprit?

@darrachequesne darrachequesne added needs investigation and removed to triage Waiting to be triaged by a member of the team labels Sep 17, 2024
@shashankgarg4
Copy link
Author

Hello @darrachequesne we did not find any solution for this error

@darrachequesne
Copy link
Member

Hmm, I don't see anything weird in the code you provided. Could you please provide a basic example reproducing the issue?

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

No branches or pull requests

3 participants