This message was deleted.
# helpdesk
s
This message was deleted.
a
I find it’s simplest to just request a new token from your backend before each connection attempt
g
If token is expired I should ignore it by my business logic
I have short-term sessions (5 mins) and push to client with token can late
a
Oh, I can’t speak to your business logic. You may have to manage your business logic timeouts separately from your token timeouts.
g
I just want to avoid crashing of app when token is expired 🙂
a
Fair 😅 the SDK shouldn’t crash your app on an expired token. cc @eager-raincoat-52616
1
g
It will be nice to emit RoomEvent.FailedToConnect event in this case in future
d
are you catching the exception when connecting to the room? We would recommend catching them so you can add error handling / retry logic around it.