# Multiple javascript error when joining with slow network

**URL:** <https://devforum.zoom.us/t/multiple-javascript-error-when-joining-with-slow-network/30229>\
**Category:** Web\
**Created:** [September 15, 2020, 1:30am UTC](https://devforum.zoom.us/t/multiple-javascript-error-when-joining-with-slow-network/30229 "2020-09-15T01:30:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nvivot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nvivot/32/4489_2.png) [@nvivot](https://devforum.zoom.us/u/nvivot)\
**Post date:** [September 15, 2020, 1:30am UTC](https://devforum.zoom.us/t/multiple-javascript-error-when-joining-with-slow-network/30229/1 "2020-09-15T01:30:52Z")

</div>

**Description**

When joining a meeting with very slow network, multiple javascript error occurs inside Zoom Web SDK libraries:

- TypeError: h.a.getCanvasInfo is not a function
- ReferenceError: JsMediaSDK\_Instance is not defined
- TypeError: P.sendSocket is not a function

**Error**

Here is the full stack details for **canvas error**  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/3/3886091f434b3b92a88c0c361ffe0595a1e155f1.png)

Here is the full stack details for **jsMediaSDK\_Instance**  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/6/64d115a6354467dc7d6ec3385506dc3517d75605.png)

Here is the full stack details for **socket send**  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/4/41e675d8ad94329fb9222fc6485fa89789d8c928.png)

**Assumption**

This happened for a client with very bad low download speed and it took very long to download zoom libraries and resources.  
As you can see in the following screenshot:

- it takes several seconds per resources to download
- it seems that the join() process do not wait for the javascript resources web.min.js to be fully downloaded to start to request zoom API and then execute code to initialize zoom components. It seems to wait for the wasm libraries but not the other ones.

**Could these error stack be generated because of these two libraries not being downloaded yet when the SDK execute its code on client side ?**

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/4/4d23ba4a84491d5c3183bb0a1635b13171e74c96.png)

**Which version?**  
1.7.10 and i’m pretty sure this would also happen with 1.8.0 unless you completely changed internal behavior of these lib between both version - but i don’t think so as this was not described in the changes.

**To Reproduce(If applicable)**  
It’s pretty hard to reproduce as you need very bad network conditions, but:

1. simulate bad network conditions (slow download speed)
2. join a meeting with the sample application

**Additional context**  
Browser: Chrome latest release  
OS : Any (window, mac os, linux)

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [September 15, 2020, 10:51pm UTC](https://devforum.zoom.us/t/multiple-javascript-error-when-joining-with-slow-network/30229/2 "2020-09-15T22:51:45Z")

</div>

Hey @nvivot,

Thanks for reporting this. Our Web SDK engineers are looking into this issue. (CS-2319)

I will report back with what they find. 🙂

-Tommy

---

<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:** [October 16, 2020, 8:51am UTC](https://devforum.zoom.us/t/multiple-javascript-error-when-joining-with-slow-network/30229/3 "2020-10-16T08:51:46Z")

</div>

Closed on October 16, 2020, 8:51am UTC

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