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

**URL:** <https://devforum.zoom.us/t/when-click-join-audio-by-computer-button-without-any-response-in-zoom-web-sdk/84728>\
**Category:** Web\
**Tags:** api\
**Created:** [March 15, 2023, 7:46am UTC](https://devforum.zoom.us/t/when-click-join-audio-by-computer-button-without-any-response-in-zoom-web-sdk/84728 "2023-03-15T07:46:41Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![gangwang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gangwang/32/28749_2.png) [@gangwang](https://devforum.zoom.us/u/gangwang)\
**Post date:** [March 15, 2023, 7:46am UTC](https://devforum.zoom.us/t/when-click-join-audio-by-computer-button-without-any-response-in-zoom-web-sdk/84728/1 "2023-03-15T07:46:41Z")

</div>

**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](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

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [March 15, 2023, 8:37am UTC](https://devforum.zoom.us/t/when-click-join-audio-by-computer-button-without-any-response-in-zoom-web-sdk/84728/2 "2023-03-15T08:37:22Z")

</div>

Hi @gangwang ,

This is used to work before?

Could you share your JWT token as well?

Chun Siong

---

<div class="post-metadata">

**Author:** ![gangwang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gangwang/32/28749_2.png) [@gangwang](https://devforum.zoom.us/u/gangwang)\
**Post date:** [March 15, 2023, 8:53am UTC](https://devforum.zoom.us/t/when-click-join-audio-by-computer-button-without-any-response-in-zoom-web-sdk/84728/3 "2023-03-15T08:53:35Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [March 15, 2023, 8:57am UTC](https://devforum.zoom.us/t/when-click-join-audio-by-computer-button-without-any-response-in-zoom-web-sdk/84728/4 "2023-03-15T08:57:34Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [March 15, 2023, 9:01am UTC](https://devforum.zoom.us/t/when-click-join-audio-by-computer-button-without-any-response-in-zoom-web-sdk/84728/5 "2023-03-15T09:01:33Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![gangwang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gangwang/32/28749_2.png) [@gangwang](https://devforum.zoom.us/u/gangwang)\
**Post date:** [March 15, 2023, 9:46am UTC](https://devforum.zoom.us/t/when-click-join-audio-by-computer-button-without-any-response-in-zoom-web-sdk/84728/6 "2023-03-15T09:46:25Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [March 15, 2023, 11:46am UTC](https://devforum.zoom.us/t/when-click-join-audio-by-computer-button-without-any-response-in-zoom-web-sdk/84728/7 "2023-03-15T11:46:14Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![gangwang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gangwang/32/28749_2.png) [@gangwang](https://devforum.zoom.us/u/gangwang)\
**Post date:** [March 15, 2023, 1:29pm UTC](https://devforum.zoom.us/t/when-click-join-audio-by-computer-button-without-any-response-in-zoom-web-sdk/84728/8 "2023-03-15T13:29:52Z")

</div>

@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?

---

<div class="post-metadata">

**Author:** ![gangwang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gangwang/32/28749_2.png) [@gangwang](https://devforum.zoom.us/u/gangwang)\
**Post date:** [March 16, 2023, 2:43am UTC](https://devforum.zoom.us/t/when-click-join-audio-by-computer-button-without-any-response-in-zoom-web-sdk/84728/9 "2023-03-16T02:43:07Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![gangwang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gangwang/32/28749_2.png) [@gangwang](https://devforum.zoom.us/u/gangwang)\
**Post date:** [March 16, 2023, 4:36am UTC](https://devforum.zoom.us/t/when-click-join-audio-by-computer-button-without-any-response-in-zoom-web-sdk/84728/10 "2023-03-16T04:36:43Z")

</div>

@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

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [March 16, 2023, 11:13pm UTC](https://devforum.zoom.us/t/when-click-join-audio-by-computer-button-without-any-response-in-zoom-web-sdk/84728/11 "2023-03-16T23:13:56Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![gangwang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gangwang/32/28749_2.png) [@gangwang](https://devforum.zoom.us/u/gangwang)\
**Post date:** [March 17, 2023, 1:32am UTC](https://devforum.zoom.us/t/when-click-join-audio-by-computer-button-without-any-response-in-zoom-web-sdk/84728/12 "2023-03-17T01:32:49Z")

</div>

yes, It’s AWS instance

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [March 17, 2023, 1:45am UTC](https://devforum.zoom.us/t/when-click-join-audio-by-computer-button-without-any-response-in-zoom-web-sdk/84728/13 "2023-03-17T01:45:35Z")

</div>

@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 ?

---

<div class="post-metadata">

**Author:** ![gangwang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gangwang/32/28749_2.png) [@gangwang](https://devforum.zoom.us/u/gangwang)\
**Post date:** [March 17, 2023, 3:11am UTC](https://devforum.zoom.us/t/when-click-join-audio-by-computer-button-without-any-response-in-zoom-web-sdk/84728/14 "2023-03-17T03:11:12Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [March 17, 2023, 5:40am UTC](https://devforum.zoom.us/t/when-click-join-audio-by-computer-button-without-any-response-in-zoom-web-sdk/84728/15 "2023-03-17T05:40:00Z")

</div>

@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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [April 16, 2023, 3:40pm UTC](https://devforum.zoom.us/t/when-click-join-audio-by-computer-button-without-any-response-in-zoom-web-sdk/84728/16 "2023-04-16T15:40:20Z")

</div>

Closed on April 16, 2023, 3:40pm UTC

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