# Websocket establishment is slower than admission permission modal display

**URL:** <https://devforum.zoom.us/t/websocket-establishment-is-slower-than-admission-permission-modal-display/78861>\
**Category:** Web\
**Created:** [November 16, 2022, 3:05am UTC](https://devforum.zoom.us/t/websocket-establishment-is-slower-than-admission-permission-modal-display/78861 "2022-11-16T03:05:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![y.a](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/y.a/32/43034_2.png) [@y.a](https://devforum.zoom.us/u/y.a)\
**Post date:** [November 16, 2022, 3:05am UTC](https://devforum.zoom.us/t/websocket-establishment-is-slower-than-admission-permission-modal-display/78861/1 "2022-11-16T03:05:06Z")

</div>

* * *

**Description**

If the waiting room is turned on and you grant permission as soon as someone enters the waiting room, you will not be able to properly establish the following websockets.

```auto
Open_Audio_WebSocket_Connect
Open_Audio_WebSocket_Connect
Open_Sharing_WebSocket_Connect
Open_Video_WebSocket_Connect
Open_Video_WebSocket_Connect
Open_Sharing_WebSocket_Connect

```

It takes about 5 to 10 seconds from the time the entry permission pop-up is displayed until the necessary Websocket connection is established, so there is a high possibility that permission to enter the room will be given before then.

Is this the specification? Are there any plans to fix it in the future?

**Browser Console Error**

No errors are printed to the console.

**Which Web Meeting SDK version?**

2.8.0（Component View）

**To Reproduce(If applicable)**

Steps to reproduce the behavior:

1. Try to join an event whose waiting room is on

2. Admit user within about 5-10 seconds

3. Websocket connection not established

**Troubleshooting Routes**

I found a similar post, but the underlying solution was not specified.

> [@Getting Error after admitting user in Waiting Room within 5-10 seconds](https://devforum.zoom.us/t/getting-error-after-admitting-user-in-waiting-room-within-5-10-seconds/62999):
>
> Description When we are admitting a Audience user in zoom app within 5-10 seconds of request arriving, the join call callback is not being called and i’m getting an error on the console Browser Console Error Ie @ zoomus-websdk.umd.min.js:2 handleOnMessage @ zoomus-websdk.umd.min.js:2 i.\<computed\>.i.\<computed\>.onmessage @ zoomus-websdk.umd.min.js:2 zoomus-websdk.umd.min.js:2 creatAVSocket zoomus-websdk.umd.min.js:2 \>\>\>\>\>\>\>\> CREATE JSMEDIASKD INSTANCE \<\<\<\<\<\<\<\< zoomus-websdk.umd.min.js:2 \>\>\>\>\>\>\>\>…

**Device (please complete the following information):**

- OS: Linux 3.16

- Browser: Chromium

- Browser Version 93.0.4577.0

---

<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:** [December 16, 2022, 1:05pm UTC](https://devforum.zoom.us/t/websocket-establishment-is-slower-than-admission-permission-modal-display/78861/2 "2022-12-16T13:05:47Z")

</div>

Closed on December 16, 2022, 1:05pm UTC

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