colyseus-unity-sdk icon indicating copy to clipboard operation
colyseus-unity-sdk copied to clipboard

Error handing issue when reconnecting with expired session token

Open guntarsbeetroot opened this issue 1 month ago • 1 comments

Package: 0.15.9 class: HTTP.cs method: public async Task Request Conditions: using secure protocol only

Problem: In case of expired reconnection token, the error should return : "Reconnection token invalid or expired". But instead, it tries to use unsecure protocol and completely forgets about original error message and returns : " Unexpected end of JSON input".

It would be nice to have this fallback optional or the original error.

Screenshot 2024-05-24 at 15 36 10

guntarsbeetroot avatar May 24 '24 12:05 guntarsbeetroot