You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.
If the connection is lost and the token is about to expire after reestablishing the connection agora doesn't fire connection-state-change event. In the console I can see that the client is trying to join the channel, but can't because of the expired token. But I can't know about it because the event is not fired.
I tried to call renewToken any time the online event is fired. But seems like it doesn't affect the behaviour: the client keeps on trying to reconnect and logs the same error reconnect failed AgoraRTCError CAN_NOT_GET_GATEWAY_SERVER: dynamic key expired data: {"retry":false}
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If the connection is lost and the token is about to expire after reestablishing the connection agora doesn't fire connection-state-change event. In the console I can see that the client is trying to join the channel, but can't because of the expired token. But I can't know about it because the event is not fired.
Log:
How can I handle that case and renew token when the connection is on?
Thanks
The text was updated successfully, but these errors were encountered: