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

when i run this on my local system i found this error #33

Open
Tejas-r281 opened this issue Mar 1, 2021 · 6 comments
Open

when i run this on my local system i found this error #33

Tejas-r281 opened this issue Mar 1, 2021 · 6 comments

Comments

@Tejas-r281
Copy link

index.js:83 WebSocket connection to 'ws://localhost:3030/socket.io/?EIO=3&transport=websocket&sid=gOQKcg43CIzgEjI6AAAE' failed: Invalid frame header

@nmc2711
Copy link

nmc2711 commented Apr 5, 2021

same error plz

@ankur-powar
Copy link

It doesn't cause any problem.

@arnav2236
Copy link

It doesn't cause any problem.

my local host is not showing dual window when I open link in two windows.
can you help?

@cforsyth68
Copy link

Same problem. No solution?

@harshitrathod1
Copy link

harshitrathod1 commented Sep 20, 2021

not showing dual window

socket.on('user-connected',(user_id) => { console.log("Hey someone just Joined" + user_id); setTimeout(connectToNewUser,1000,user_id,stream); //connectToNewUser(user_id,stream); });

wrap connectToNewUser function with a setTimeOut function as stream object is null if we don't use it. Navigator promise takes time to create a stream object and we are calling connectToNewUser function before stream has been created!

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

7 participants