ignoxx / SocketIO-GMS2-Extension

Socket.io extension for GameMaker: Studio 2 (HTML5)
https://ignoxx.dev/socketio
MIT License
45 stars 16 forks source link

HTTPS and SSL #8

Closed ItsDedSec00 closed 4 years ago

ItsDedSec00 commented 4 years ago

Unfortunately the game does not connect after uploading to a hoster. After searching Google I found the error that Socket IO cannot connect with SSL or HTTPS. I have found some solutions on the web but I don't know enough about connecting to Game Maker to change this. Can you help me with that?

ItsDedSec00 commented 4 years ago

I changed the server script so that it works on HTTPS sites, but as soon as I upload it to my webhoster it does not work anymore. How did you do that? Or can't you upload it at all? Which of course would be pointless.

ignoxx commented 4 years ago

Hi,

your link also says that it's enough to just write "https://....." to enable the secure mode. But you should be able to just use http too.

Make sure your client has the right address to your server and that your server is reachable in public. If you host it on your PC, make sure to open the right ports in your router/pc.