gangwang
(gang)
March 15, 2023, 7:46am
1
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
chunsiong.zoom
(Chun Siong (tag me for response))
March 15, 2023, 8:37am
2
Hi @gangwang ,
This is used to work before?
Could you share your JWT token as well?
Chun Siong
gangwang
(gang)
March 15, 2023, 8:53am
3
Hi @chunsiong.tan We don’t use JWT token but use the sdk key and sdk secret now, sdk _ key is jiCEuJrTk1ssExJSwtMUfzwW3Pfdao******
chunsiong.zoom
(Chun Siong (tag me for response))
March 15, 2023, 8:57am
4
Did you use your SDK key and SDK Secret to sign a JWT token?
chunsiong.zoom
(Chun Siong (tag me for response))
March 15, 2023, 9:01am
5
One more question, are you using the CDN, LOCAL or COMPONENT folder sample?
gangwang
(gang)
March 15, 2023, 9:46am
6
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
chunsiong.zoom
(Chun Siong (tag me for response))
March 15, 2023, 11:46am
7
Hi @gangwang , could you check if the system time is accurate?
gangwang
(gang)
March 15, 2023, 1:29pm
8
@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?
gangwang
(gang)
March 16, 2023, 2:43am
9
I am using both LOCAL and CDN folder sample, and both have the same error
gangwang
(gang)
March 16, 2023, 4:36am
10
@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
chunsiong.zoom
(Chun Siong (tag me for response))
March 16, 2023, 11:13pm
11
@gangwang you mentioned this is ec2, ec2 like AWS instance?
chunsiong.zoom
(Chun Siong (tag me for response))
March 17, 2023, 1:45am
13
@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 ?
gangwang
(gang)
March 17, 2023, 3:11am
14
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?
chunsiong.zoom
(Chun Siong (tag me for response))
March 17, 2023, 5:40am
15
@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.
system
(system)
Closed
April 16, 2023, 3:40pm
16
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.