Getting error websocket.js:39 WebSocket connection to 'ws://localhost:3000/socket.io/?EIO=4&transport=websocket' failed: again and again #5027
Labels
to triage
Waiting to be triaged by a member of the team
Hello i am using socket.io-client package in my frontend react project this is my frontend code
![image](https://private-user-images.githubusercontent.com/88320735/330301159-dd173262-6fbc-42f5-b84d-5c37a21ac284.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxMDMyMjQsIm5iZiI6MTcyNjEwMjkyNCwicGF0aCI6Ii84ODMyMDczNS8zMzAzMDExNTktZGQxNzMyNjItNmZiYy00MmY1LWI4NGQtNWMzN2EyMWFjMjg0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEyVDAxMDIwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJmYmVhZjdhYWQ1NTgzNTgyMmFmYTM1Y2E2NmU1OWM3ZmI1ZDEyZGJlODFlMWY1NWJiYWQ5OTM1ZDkwMjkyOTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Zcfu5Jo9w4KOb7lt8JrxLCkJvRaEamKMMOBSFW8EcpM)
![image](https://private-user-images.githubusercontent.com/88320735/330519699-d25d1d45-794f-49fd-b331-81ac77f4adc7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxMDMyMjQsIm5iZiI6MTcyNjEwMjkyNCwicGF0aCI6Ii84ODMyMDczNS8zMzA1MTk2OTktZDI1ZDFkNDUtNzk0Zi00OWZkLWIzMzEtODFhYzc3ZjRhZGM3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEyVDAxMDIwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMzZjc1YmQ4NWFlMjU1OTRmMTYzZmFjMWExMjc0NDkxNTliNDA4YTdlMTlhNWY0ZjkzM2JjODRkMTY4NjMxNjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.D-lEGVAWKajIkLJjOtPczRYSKf93gWkwT9gdhZQ6_sE)
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
Can you please tell me why this error is coming thanks @darrachequesne @maccman
The text was updated successfully, but these errors were encountered: