cygni / snakebot

http://snake.cygni.se
MIT License
2 stars 7 forks source link

Can't connect with browser WebSocket #94

Open maxdavidson opened 6 years ago

maxdavidson commented 6 years ago

When attempting to connect via a browser WebSocket, the connection fails with the following error:

WebSocket connection to 'ws://snake.cygni.se/training' failed: Error during WebSocket handshake: Unexpected response code: 403

This happens in all browsers (Safari, Chrome, Firefox), but not in Node. CORS issue perhaps?