ignoxx / SocketIO-GMS2-Extension

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

Socket.io is throwing a 404 while attempting to long poll from the same URL as the game locally #11

Closed mrispoli24 closed 2 years ago

mrispoli24 commented 2 years ago

After following the instructions we're seeing errors with the socket appearing to long poll. Our server is getting the initial connection but cannot seem to figure out why this is happening in the example code.

image
ignoxx commented 2 years ago

@mrispoli24 can you test if @rhea-so fix solved it?

rhea-so commented 2 years ago

@mrispoli24 can you test if @rhea-so fix solved it?

I tried and it solved.

I want to upload the screenshot, but I don't know how to open developer tools.

I guess GameMaker Studio 2 is interrupt keyboard input.

ignoxx commented 2 years ago

Great. You can still do that by clicking inside of the url bar and pressing (F12 or F11?)