Multiplayer connection problem

Bugs will be moved here once resolved.

Post » Mon Jun 29, 2015 7:34 pm

Problem Description
Me and my friend cannot connect to each other on any multiplayer examples. I'm using Firefox, he is using Chrome, but it seems that with any combination of browsers it still doesn't work. The first person to connect (the host) doesn't have any problems, but the second person to connect (the peer) appears to join, but cannot see the host in the player list and their messages aren't seen by the host. After a few seconds the log writes "Kicked (either couldn't connect to host or host left".

Attach a Capx
Default Multiplayer Chat Example.

Description of Capx
Just a multiplayer chat room made by Scirra.

Steps to Reproduce Bug
  • Step 1 - Log in to the chat room as host normally.
  • Step 2 - Log in to the chat room as peer.
  • Step 3 - Peer gets kicked after a few seconds.

Observed Result
Peer gets kicked out, even though there shouldn't be any problems connecting, and the second person sees that there is already a host as the log says: "Connected as peer". However, the peer doesn't see the host, cannot send messages to the host and in a few seconds gets kicked.

Expected Result
Connection shouldn't have any problems and the host and peer should see each other and be able to send messages to each other.

Affected Browsers
  • Chrome: (YES)
  • FireFox: (YES)
  • Internet Explorer: Not Tested

Operating System and Service Pack
Both use Windows 32

Construct 2 Version ID
Construct 2 - 206
B
4
Posts: 6
Reputation: 212

Post » Mon Jun 29, 2015 9:35 pm

Hi @Niker107 Did you tried it on your system first with 2 browser in lan preview mode? does it works fine?
B
12
S
1
Posts: 25
Reputation: 618

Post » Tue Jun 30, 2015 12:30 pm

Yes, I have. It works fine with two instances of myself, and it works fine for him with two instances of himself as well, but the two of us can't connect to each other.
B
4
Posts: 6
Reputation: 212

Post » Tue Jun 30, 2015 12:36 pm

Okay. Are you both in same network while testing with each other? Because I just tested and its working at my end.
B
12
S
1
Posts: 25
Reputation: 618

Post » Tue Jun 30, 2015 2:16 pm

Ehm, no, we live in different countries. But I assumed that that shouldn't make a difference? Multiplayer shouldn't be constricted to only people living in the same house or just on the same network, as far as I know.
B
4
Posts: 6
Reputation: 212

Post » Tue Jun 30, 2015 4:11 pm

I tested it with a friend from the same country and city, and it still doesn't work. It kicks him, saying that he couldn't establish a connection to the host or the host quit.
B
4
Posts: 6
Reputation: 212

Post » Tue Jun 30, 2015 4:19 pm

@Niker107 Could you share with me the link so I can test it with you?
B
12
S
1
Posts: 25
Reputation: 618

Post » Tue Jun 30, 2015 6:45 pm

There, I uploaded a modified version of the chat example (I changed the instance name) to Google Drive. Here's the link:
googledrive.com/host/0B0_TJqqpyZ0Qfk1FcmMwWmlsd1R3ek5kY3BXem5CRXo4LVh2RDNnaDBNNm9pOVg4X2JsR0E/index.html
B
4
Posts: 6
Reputation: 212

Post » Tue Jun 30, 2015 8:34 pm

Gotta go to sleep now, had to close down the link. If you see you've joined as a host without problem, that means I'm already gone.
B
4
Posts: 6
Reputation: 212

Post » Wed Jul 01, 2015 12:48 am

@Niker107 Try it with my files. Mine seem to work. https://www.dropbox.com/s/mdb5n4rsm96tz ... e.zip?dl=0
B
12
S
1
Posts: 25
Reputation: 618

Next

Return to Closed bugs

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests