sprocketleague icon indicating copy to clipboard operation
sprocketleague copied to clipboard

Clients time out 20s after loading the page

Open nmai opened this issue 5 years ago • 1 comments

Ran npm start, opened browser tab at localhost:3000, clicked Join Game. Car spawns with the ball, everything looks good. But I can't do anything- the controls are unresponsive. Eventually the reconnect button appears.

Checked websocket connection and I see continuous incoming world updates for 20 seconds as well as occasional outgoing RTRequests before everything ends abruptly.

Node server log shows "client timed out after 20s" and removes the car. Clicking reconnect or reloading page gives same results.

Apologies for lack of detailed debug data, logs, etc... I just figure this is an issue anyone would run into after installing and running SprocketLeague for the first time though. Any idea on what is happening?

nmai avatar Apr 07 '19 20:04 nmai

thanks for reporting this. I have a fix ready which should be deployed in the next couple of days

namel avatar Apr 20 '19 13:04 namel