Cardshifter / HTML-Client

HTML/CSS/JS-based client for Cardshifter
http://cardshifter.zomis.net
Apache License 2.0
13 stars 5 forks source link

Code 500 "Internal Server Error" from reloading page #130

Closed Phrancis closed 6 years ago

Phrancis commented 8 years ago

This problem can be reproduced by going to http://play.cardshifter.com/ and logging in to a game server (I used dwarftowers.com server) and then refreshing/reloading the page in the browser.

Ideally, the game client should make it so that there doesn't appear to be a change in game connection state if the page reloads etc. Quoting @Zomis in chat "it can be made possible so that it looks like you remain connected, but what actually happens is that it creates a new connection as soon as you load the page"

Here is the error text displayed in the browser, as well as a screenshot. Note that the quoted email webmaster@play.cardshifter.com is not a real email address. Maybe we should create that email account also, or have it display a real email, albeit that's besides the point of this issue I think.

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@play.cardshifter.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

2016-04-30 17_14_57-program manager

Phrancis commented 6 years ago

This problem is no longer present in the Vue.js client #144