Luka967 / OgarII

FOSS implementation of a private Agar.io gameserver, made with Node.js.
Other
66 stars 38 forks source link

Handshake error #21

Closed freaky767 closed 6 years ago

freaky767 commented 6 years ago

I keep getting an error for websocket handshake while trying to connect to my ogarii server. image this happens even on agar.io and other clients.

freaky767 commented 6 years ago

To add, i am using the latest OgarII

Luka967 commented 6 years ago

Listener dropped the connection before upgrading to websocket. Send the server logs over and make sure DEBUG level entries are written to log

freaky767 commented 6 years ago

2018-08-03 12:39:39.603 [INFO] command stream open 2018-08-03 12:39:39.606 [INFO] starting 2018-08-03 12:39:39.607 [DEBUG] listener opening at 443 2018-08-03 12:39:39.616 [INFO] ticker begin 2018-08-03 12:39:39.616 [INFO] OgarII 1.1.1 2018-08-03 12:39:39.617 [INFO] listener open at 443 2018-08-03 12:50:35.403 [INFO] (caught SIGINT) 2018-08-03 12:50:35.404 [INFO] stopping 2018-08-03 12:50:35.405 [DEBUG] listener closing 2018-08-03 12:50:35.405 [INFO] ticker stop

those are all the logs, the stopping bit is when i pressed CTRL + C to stop it.

Luka967 commented 6 years ago

Now when I check back the listener will never respond with a 400, only 403 and 503 Can't really reproduce the problem because I don't know how to nor know where to start from - perhaps try using a different port?

freaky767 commented 6 years ago

That actually fixed it, some software is probably interfering with the 443 port.