jkk / shinkgs

A JavaScript client for the KGS Go Server
https://shin.gokgs.com/
MIT License
267 stars 55 forks source link

Client receives an error and logs out when game ends #236

Open beejunk opened 4 years ago

beejunk commented 4 years ago

Summary

When watching a game, the KGS client will receive an error and log the user out after the game ends and both players leave.

Steps to reproduce:

  1. Watch a game
  2. Wait until game ends
  3. Wait for both players to leave

At this point an error is displayed and the user is logged out. The user needs to log back in before continuing to use the client.

This is the error shown:

Disconnected - Internal error (check webapp logs for stack trace): java.lang.RuntimeException: Unknown channel 26518795

Expected behavior:

The user should remain logged in and be able either continue reviewing the finished game, are navigate away from the game screen.

leeschumacher commented 4 years ago

this is a server error (its a bug in the jsonclient api code). I'll file a bug on the kgs issue tracker.