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

Receiving 110 error when using buildTokenWithAccount #130

Closed
paarikan opened this issue Feb 25, 2021 · 1 comment
Closed

Receiving 110 error when using buildTokenWithAccount #130

paarikan opened this issue Feb 25, 2021 · 1 comment

Comments

@paarikan
Copy link

Hello,

I'm creating a token on a Node server and then attempting to join from a React Native client with the following lines:

Server:
RtcTokenBuilder.buildTokenWithAccount(AGORA_CONFIG.appId, AGORA_CONFIG.appCertificate, channelName, 'user-id-1', AGORA_CONFIG.role, AGORA_CONFIG.privilegeExpiredTs),
Client:
await audioEngine.current.joinChannelWithUserAccount(m.callToken, m.groupId, 'user-id-1')

I receive a 110 error callback with the above when I expect to join successfully. I am successfully able to join when using uids like below:

Server:
RtcTokenBuilder.buildTokenWithUid(AGORA_CONFIG.appId, AGORA_CONFIG.appCertificate, channelName, 0, AGORA_CONFIG.role, AGORA_CONFIG.privilegeExpiredTs),
Client:
await audioEngine.current.joinChannelWithAccount(m.callToken, m.groupId, null, 0)

@plutoless
Copy link
Contributor

could you pls share a token you generated with me?

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

3 participants