gorisanson / pikachu-volleyball-p2p-online

Pikachu Volleyball peer-to-peer online via WebRTC data channels
https://gorisanson.github.io/pikachu-volleyball-p2p-online/en/
317 stars 37 forks source link

Unable to join peer-to-peer online lobby #33

Open Shashankti opened 1 month ago

Shashankti commented 1 month ago

Hey, I tried to join a lobby and I get the following error:

Signaling state change: have-remote-offer
Offer received
Signaling state change: stable
ICE gathering state changed: gathering
ICE gathering state changed: complete
Connection state change: connecting
Answer sent
Connection state change: failed
Connection failed.

Both me and my friend dont have any errors pop up when we click on test network

gorisanson commented 1 month ago

@Shashankti

Hi! Thank you for letting me know the issue.

I'm sorry but I don't understand what you mean by "lobby". Could you let me know the steps you took? What buttons did you click? "With one of your friends" and then "creat room"? And then you transferred the generated room ID to your friend and your friend pasted it to the "Room ID to join" and then clicked the "join room" button?

Shashankti commented 1 month ago

Hey, sorry for the ambiguity. We tried to play togethter online, so I clicked on 'With one of your friends' and then 'create room'. I send the room id to my friend and they pasted the ID on their end. This was the message we got after doing the above steps:

Signaling state change: have-remote-offer
Offer received
Signaling state change: stable
ICE gathering state changed: gathering
ICE gathering state changed: complete
Connection state change: connecting
Answer sent
Connection state change: failed
Connection failed.

We both used Chrome as our browser.

gorisanson commented 1 month ago

You can try incognito mode in Chrome. Maybe some extensions would be the source of the problem. Or you can try other browsers like Firefox.

And it would be helpful if you attach the log from your browser console and also your friend's browser console for 1) after clicking "Test network" button and 2) after all the steps to connect with your friend.

The following is an example console log after clicking "Test network" button:

Screenshot from 2024-10-02 20-50-45