Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AgoraRTCError CAN_NOT_GET_GATEWAY_SERVER: dynamic key or token timeout #86

Open
nguyentho98 opened this issue Mar 25, 2024 · 1 comment

Comments

@nguyentho98
Copy link

Hello admin,
I have a problem creating a call with a validity period of 7 days but I can only use it for the first 24 hours, after 24 hours when I click join callback this problem occurs:
We hope to help.

AgoraRTCException: AgoraRTCError CAN_NOT_GET_GATEWAY_SERVER: flag: 4096, message: AgoraRTCError CAN_NOT_GET_GATEWAY_SERVER: dynamic key or token timeout
at cA (http://localhost:3012/node_modules/.vite/deps/chunk-PRBXGCMN.js?v=45d98b7d:7855:239)
at e3.gatewayInfo.rI.joinChooseServer.lts (http://localhost:3012/node_modules/.vite/deps/chunk-PRBXGCMN.js?v=45d98b7d:7832:80)
at async http://localhost:3012/node_modules/.vite/deps/chunk-PRBXGCMN.js?v=45d98b7d:3353:26

@plutoless
Copy link
Contributor

@nguyentho98 the error message has told you what happened. The token you provided has expired. You will need regenerate a token for this user. It's usually best practice to generate a token for user everytime he joins the channel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants