When click join audio by computer button without any response in zoom web sdk

Description
The button of join audio by computer was clicked, but without any response, I try to refresh the page or wait for a few seconds but does not work

Browser Console Error
https://source.zoom.us/zoom-meeting-2.7.0.min.js 1:3589255 Uncaught TypeError: Cannot assign to read only property ‘userRole’ of object ‘#’

Which Web Meeting SDK version?
2.7.0

  • Device: ec2
  • OS: linux
  • Browser: Chrome

Hi @gangwang ,

This is used to work before?

Could you share your JWT token as well?

Chun Siong

Hi @chunsiong.tan We don’t use JWT token but use the sdk key and sdk secret now, sdk _ key is jiCEuJrTk1ssExJSwtMUfzwW3Pfdao******

Did you use your SDK key and SDK Secret to sign a JWT token?

One more question, are you using the CDN, LOCAL or COMPONENT folder sample?

We don’t do more, we just use this sdk in the local machine, and proxy by nginx to the sdk, by the way, this error does not always happen, occasionally, as long as it happens then that time is more

Hi @gangwang , could you check if the system time is accurate?

@chunsiong.tan The system time is accurate, and now I don’t know if clicking the button without any response is the result of this error,do you know that?

I am using both LOCAL and CDN folder sample, and both have the same error

@chunsiong.zoom Now, I can provide more information about this error, I inspect the websocket network logs, and found that, when there are no errors, the sdk send websocket message A:

  • {'level': 'INFO', 'message': '{"message":{"method":"Network.webSocketFrameSent","params":{"requestId":"1370.66","response":{"mask":true,"opcode":1,"payloadData":"2_{\\"data\\":{\\"current_user\\":{\\"userId\\":16780288,\\"userName\\":\\"ffmpegs\\",\\"muted\\":false,\\"audio\\":\\"\\",\\"isHost\\":false,\\"isCoHost\\":\\"\\",\\"isGuest\\":true,\\"isHold\\":false,\\"persistentID\\":\\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\\"}}}"},"timestamp":176396.57666}},"webview":"808A968A0C7E873D4FB22C11F9D349EF"}', 'timestamp': 1678899962088}

After that, the sdk send message B:

  • {'level': 'INFO', 'message': '{"message":{"method":"Network.webSocketFrameSent","params":{"requestId":"1370.86","response":{"mask":true,"opcode":1,"payloadData":"{\\"evt\\":8203,\\"body\\":{\\"oldAudioConnectionStatus\\":1,\\"audioConnectionStatus\\":1},\\"seq\\":10}"},"timestamp":176396.752656}},"webview":"808A968A0C7E873D4FB22C11F9D349EF"}', 'timestamp': 1678899962088}

but when the button can not be clicked, the websocket message A is

  • {'level': 'INFO', 'message': '{"message":{"method":"Network.webSocketFrameSent","params":{"requestId":"321.66","response":{"mask":true,"opcode":1,"payloadData":"2_{\\"data\\":{\\"current_user\\":{\\"isHold\\":false}}}"},"timestamp":51704.248989}},"webview":"2AC762A2586D30745CE88ADC3903A86C"}', 'timestamp': 1678900643708}

It is obvious that the current_user field lack of some message, and then no message B was sent, and then the error message

  • https://source.zoom.us/zoom-meeting-2.7.0.min.js 1:3589255 Uncaught TypeError: Cannot assign to read only property userRole of object

was found in the console

@gangwang you mentioned this is ec2, ec2 like AWS instance?

yes, It’s AWS instance

@gangwang if this is

  • Ubuntu desktop, is there vnc / rdp microphone attached?
  • Ubuntu server, is there a virtual microphone attached?

What is the current use case running on AWS instance ?

Yes, the virtual microphone is attached , now the main problem is lack of current_user information, may I ask what is the relationship between this and the microphone?

@gangwang are you trying to start audio programatically?

If so, there is a chance the user has not joined the meeting yet, and throws an error as you are trying to start audio.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.