MCMi460 / 3DS-RPC

Connect your 3DS playing status to Discord!
https://3dsrpc.com/
141 stars 8 forks source link

When I go to Settings i get an Internal Server Error #19

Closed haha-goodone-lol closed 1 year ago

haha-goodone-lol commented 1 year ago

Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

MCMi460 commented 1 year ago

Ah, I believe I've found a way to replicate this. This occurs whenever the route /settings or /settings.html (which redirects to /settings) receives an invalid user token. I fixed the problem for /consoles by forcing a logout whenever an invalid token is passed, but /settings does not have this safeguard. To be certain that this is the problem, could you please go to https://3dsrpc.com/consoles and see if that forces you to log out? Then, try logging back in and going to https://3dsrpc.com/settings -- this should now work.

(This error did not exist without developer tools before commit ee15f2d7cf20402e9d5d46613309d84ce66b6932)

haha-goodone-lol commented 1 year ago

Yep, it works now.