Does multiplayer games require SSL?

Get help using Construct 2

Post » Tue Dec 13, 2016 8:49 pm

I have a multiplayer game that connects to Scirra's signalling server, but nothing happens when it tries to connect.

The game works well locally in preview mode, but not when I upload it to my webserver. Does my webserver have to be SSL? Any ideas what might be wrong?
Image
B
14
S
4
Posts: 145
Reputation: 1,943

Post » Wed Dec 14, 2016 11:42 am

There are lots of reasons to use HTTPS so you should use that anyway.

AFAIK WebRTC can work without HTTPS, but there is the risk browsers might withdraw it from HTTP and make it HTTPS-only. Apart from that I can only guess - take a look in the browser console or provide us a URL otherwise there's not much anyone can say.
Scirra Founder
B
387
S
230
G
87
Posts: 24,249
Reputation: 192,240

Post » Wed Dec 14, 2016 12:30 pm

Thanks a lot for the response, Ashley! Somehow I'm getting it to work somehow, but not fully and I get some errors in the console. You can check here (edit: link not relevant anymore). I have read your blog post and have been considering getting SSL, but if I can I will avoid it for now if I for example can run it locally or something instead. Cause it works if I run in preview without any errors in console.
Last edited by janlindso on Wed Dec 14, 2016 6:06 pm, edited 1 time in total.
Image
B
14
S
4
Posts: 145
Reputation: 1,943

Post » Wed Dec 14, 2016 1:03 pm

I can't see any obvious reason it's not working. It appears to connect to multiplayer.scirra.com but I guess it's not firing events in the game to say it's connected? It could just be a mistake in your events.
Scirra Founder
B
387
S
230
G
87
Posts: 24,249
Reputation: 192,240

Post » Wed Dec 14, 2016 6:07 pm

Yeah, finally found some problems unrelated to this. Obviously only needed an extra excuse to triple check everything.
Image
B
14
S
4
Posts: 145
Reputation: 1,943


Return to How do I....?

Who is online

Users browsing this forum: stevenode and 10 guests