# Can't load wasm files

**URL:** <https://devforum.zoom.us/t/cant-load-wasm-files/95839>\
**Category:** Web\
**Created:** [September 26, 2023, 6:53pm UTC](https://devforum.zoom.us/t/cant-load-wasm-files/95839 "2023-09-26T18:53:52Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![victor.softeq](https://avatars.discourse-cdn.com/v4/letter/v/34f0e0/32.png) [@victor.softeq](https://devforum.zoom.us/u/victor.softeq)\
**Post date:** [September 26, 2023, 6:53pm UTC](https://devforum.zoom.us/t/cant-load-wasm-files/95839/1 "2023-09-26T18:53:52Z")

</div>

**Description**  
We use the Web Meeting SDK in our product. It worked fine until today: for some reason the wasm files can’t be loaded anymore, so the meetings can’t be started. I see a CORS error in the browser console. Please advise how to fix it.

**Browser Console Error**  
Please, see the screenshot [chrome\_XjU8ARA8aK.png - Google Drive](https://drive.google.com/file/d/1-1uS1ownE0XTJOehWQbHAqArEwMi4Djt/view?usp=sharing)

**Which Web Meeting SDK version?**  
2.13.0

**To Reproduce**  
Steps to reproduce the behavior:

1. Go to [Halo Dog Park](https://dogpark.halocollar.com/services/store)
2. Click on ‘Join Session’ button
3. See error

**Device:**

- Device: a Windows laptop
- OS: Windows 11
- Browser: Chrome
- Browser Version 116.0.5845.188

**Additional Notes**  
After doing some research we see a possible reason for a bug: an address of your CDN was changed. Is this the correct assumption?

Thanks!

---

<div class="post-metadata">

**Author:** ![dnna](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dnna/32/36399_2.png) [@dnna](https://devforum.zoom.us/u/dnna)\
**Post date:** [September 26, 2023, 7:01pm UTC](https://devforum.zoom.us/t/cant-load-wasm-files/95839/2 "2023-09-26T19:01:29Z")

</div>

Your CDN path seems to be looking for the WASM at [https://jssdk.zoomus.cn](https://jssdk.zoomus.cn) which doesn’t seem to send the right CORS headers. Can you check your code for any lines like:

`ZoomMtg.setZoomJSLib`

which might contain the `jssdk.zoomus.cn` part. If you find them change to use the default [source.zoom.us](http://source.zoom.us) CDN:

`ZoomMtg.setZoomJSLib("https://source.zoom.us/2.13.0/lib", "/av");`

---

<div class="post-metadata">

**Author:** ![victor.softeq](https://avatars.discourse-cdn.com/v4/letter/v/34f0e0/32.png) [@victor.softeq](https://devforum.zoom.us/u/victor.softeq)\
**Post date:** [September 26, 2023, 7:34pm UTC](https://devforum.zoom.us/t/cant-load-wasm-files/95839/3 "2023-09-26T19:34:25Z")

</div>

That’s exactly what I meant, we’ll try to do that. Thanks!  
But what has happened to the [jssdk.zoomus.cn](http://jssdk.zoomus.cn)? It worked fine until today.

---

<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:** [September 27, 2023, 3:51am UTC](https://devforum.zoom.us/t/cant-load-wasm-files/95839/4 "2023-09-27T03:51:41Z")

</div>

@victor.softeq ,

Are you still having issue with this?

Do take a look at this as well

> **[Meeting SDK - web - Browser support](https://developers.zoom.us/docs/meeting-sdk/web/browser-support/#content-security-policy-header)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

---

<div class="post-metadata">

**Author:** ![victor.softeq](https://avatars.discourse-cdn.com/v4/letter/v/34f0e0/32.png) [@victor.softeq](https://devforum.zoom.us/u/victor.softeq)\
**Post date:** [September 27, 2023, 1:04pm UTC](https://devforum.zoom.us/t/cant-load-wasm-files/95839/5 "2023-09-27T13:04:00Z")

</div>

Dear Zoom Support Team,

I am writing to follow up on a recent issue I experienced with the [jssdk.zoomus.cn](http://jssdk.zoomus.cn) CDN. I was using an officially supported version of the SDK, but it suddenly stopped working. I was able to resolve the issue by switching to the [source.zoom.us](http://source.zoom.us) CDN and updating to a newer SDK version.

I am concerned about why the officially supported CDN stopped working, and how I can ensure that this does not happen again in the future. I would appreciate it if you could provide me with some more information on this matter.

Thank you for your time and attention to this matter.

---

<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:** [September 28, 2023, 8:43am UTC](https://devforum.zoom.us/t/cant-load-wasm-files/95839/6 "2023-09-28T08:43:53Z")

</div>

@victor.softeq did you try the web server CSP header guide which I’ve shared?

The error which you have encountered seems to be a CORS issue.

---

<div class="post-metadata">

**Author:** ![victor.softeq](https://avatars.discourse-cdn.com/v4/letter/v/34f0e0/32.png) [@victor.softeq](https://devforum.zoom.us/u/victor.softeq)\
**Post date:** [September 28, 2023, 9:19am UTC](https://devforum.zoom.us/t/cant-load-wasm-files/95839/7 "2023-09-28T09:19:14Z")

</div>

@chunsiong.zoom Thanks for the suggestion! The problem is fixed now, see my message above, it had nothing to do with the CSP.

What I’d like to clarify is why this error suddenly appeared. The previous CDN worked fine for several weeks or even months, but it broke down a few days ago. Could you be more specific about what exactly changed to make it break? And what we can do to make sure it does not happen again. Thanks a lot!

---

<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:** [September 28, 2023, 9:51am UTC](https://devforum.zoom.us/t/cant-load-wasm-files/95839/8 "2023-09-28T09:51:31Z")

</div>

@victor.softeq

I’m interested in replicating this issue in my own environment to figure this out.

The fix which was shared uses a different domain.

There might be possibility it is a hosting web server configuration issue, but I need to replicate this before I can confirm it

---

<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:** [September 29, 2023, 4:44am UTC](https://devforum.zoom.us/t/cant-load-wasm-files/95839/9 "2023-09-29T04:44:50Z")

</div>

@victor.softeq , I’ll check this out and get back to you in a bit

---

<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:** [September 29, 2023, 12:54pm UTC](https://devforum.zoom.us/t/cant-load-wasm-files/95839/10 "2023-09-29T12:54:52Z")

</div>

@victor.softeq we are looking into this

ZSEE-107195

---

<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:** [October 2, 2023, 2:50am UTC](https://devforum.zoom.us/t/cant-load-wasm-files/95839/11 "2023-10-02T02:50:37Z")

</div>

@victor.softeq , thanks for raising this. The fix has been rolled out, and it should be resolved.

> I am concerned about why the officially supported CDN stopped working, and how I can ensure that this does not happen again in the future. I would appreciate it if you could provide me with some more information on this matter.

An alternative way is to save and load the files locally using `npm install`.

---

<div class="post-metadata">

**Author:** ![victor.softeq](https://avatars.discourse-cdn.com/v4/letter/v/34f0e0/32.png) [@victor.softeq](https://devforum.zoom.us/u/victor.softeq)\
**Post date:** [October 2, 2023, 9:25am UTC](https://devforum.zoom.us/t/cant-load-wasm-files/95839/12 "2023-10-02T09:25:16Z")

</div>

Thank you, Chun!

The topic can be closed.

---

<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:** [November 1, 2023, 7:26pm UTC](https://devforum.zoom.us/t/cant-load-wasm-files/95839/13 "2023-11-01T19:26:05Z")

</div>

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