# Getting error on loading wasm files

**URL:** <https://devforum.zoom.us/t/getting-error-on-loading-wasm-files/24144>\
**Category:** Web\
**Created:** [July 15, 2020, 7:00am UTC](https://devforum.zoom.us/t/getting-error-on-loading-wasm-files/24144 "2020-07-15T07:00:02Z")\
**Posts on this page:** 20\
**Page:** 3

<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:** [August 24, 2020, 5:37pm UTC](https://devforum.zoom.us/t/getting-error-on-loading-wasm-files/24144/42 "2020-08-24T17:37:08Z")

</div>

Hey @ankitladhania,

Please upgrade to the latest version of the Web SDK (1.7.10). Version 1.6.0 is deprecated.

> **[Integrate SDK - Getting Started - Web - Native SDKs - Zoom Software...](https://marketplace.zoom.us/docs/sdk/native-sdks/web/getting-started/integrate#cdn)**
>
> Integrate SDK
> 
> The Web SDK can be imported locally into an existing Node.js app through an npm package, or into any HTML5 project through a CDN (content...

Thanks,  
Tommy

---

<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:** [August 24, 2020, 5:37pm UTC](https://devforum.zoom.us/t/getting-error-on-loading-wasm-files/24144/43 "2020-08-24T17:37:39Z")

</div>

Hey @lidia.elmer,

Can you please provide exact steps to reproduce the issue?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ankitladhania](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ankitladhania/32/13810_2.png) [@ankitladhania](https://devforum.zoom.us/u/ankitladhania)\
**Post date:** [August 24, 2020, 8:38pm UTC](https://devforum.zoom.us/t/getting-error-on-loading-wasm-files/24144/44 "2020-08-24T20:38:07Z")

</div>

@tommy  
I have checked my package.json and package-lock.json for maybe the 100th time now.

I’m certain that I have @zoomus/websk version “1.7.10” installed

but its still loading the below urls, which are of version 1.6.0 (i think):

[https://source.zoom.us/1.6.0/lib/av/5510\_audio.encode.wasm](https://source.zoom.us/1.6.0/lib/av/5510_audio.encode.wasm)  
[https://source.zoom.us/1.6.0/lib/av/5510\_video.decode.wasm](https://source.zoom.us/1.6.0/lib/av/5510_video.decode.wasm)

 ![Screenshot 2020-08-25 at 2.07.11 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/4/4e0e88d53244fbe111cb36e36a99479188e71d87.png)

Can you please look into this ASAP.

---

<div class="post-metadata">

**Author:** ![lidia.elmer](https://avatars.discourse-cdn.com/v4/letter/l/bbe5ce/32.png) [@lidia.elmer](https://devforum.zoom.us/u/lidia.elmer)\
**Post date:** [August 25, 2020, 4:50am UTC](https://devforum.zoom.us/t/getting-error-on-loading-wasm-files/24144/45 "2020-08-25T04:50:25Z")

</div>

Hi Tommy - When we accessed the site using internal IP over a VPN connection , we faced this(wasm error) issue.Yesterday I accessed the site using external IP (internet) without using VPN connection and we longer face the ‘WASM error’.However we are facing this now.

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

I am following this thread ‘[Your browser doesn't support using computer's Audio device, please upgrade your browser to the latest version](https://devforum.zoom.us/t/your-browser-doesnt-support-using-computers-audio-device-please-upgrade-your-browser-to-the-latest-version/22872/28)’ to see if it is resolved…

Meanwhile will try to serve the site in HTTPS to see if that solves the issue.

Thanks,Lidia

---

<div class="post-metadata">

**Author:** ![dharminder](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dharminder/32/12561_2.png) [@dharminder](https://devforum.zoom.us/u/dharminder)\
**Post date:** [August 25, 2020, 6:41am UTC](https://devforum.zoom.us/t/getting-error-on-loading-wasm-files/24144/46 "2020-08-25T06:41:56Z")

</div>

Hey @tommy,

I am also getting the same sort of error while joining the meeting from web sdk.  
This is hosted on https:// and you can see the console error and it shows few files are not able to locate in the directory.

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

---

<div class="post-metadata">

**Author:** ![lidia.elmer](https://avatars.discourse-cdn.com/v4/letter/l/bbe5ce/32.png) [@lidia.elmer](https://devforum.zoom.us/u/lidia.elmer)\
**Post date:** [August 25, 2020, 7:07am UTC](https://devforum.zoom.us/t/getting-error-on-loading-wasm-files/24144/48 "2020-08-25T07:07:56Z")

</div>

Hi Tommy - The browser issue got resolved when served over HTTPS. The browser issue i am referring here is ‘Your browser doesn’t support using computer’s Audio device, please upgrade your browser to the latest version’.

Thanks,  
Lidia

---

<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:** [August 27, 2020, 7:30pm UTC](https://devforum.zoom.us/t/getting-error-on-loading-wasm-files/24144/49 "2020-08-27T19:30:58Z")

</div>

Hey @ankitladhania,

Can you share a github repo with the issue so I can debug it locally?

Or please share your Web SDK code snippets here.

Thanks,  
Tommy

---

<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:** [August 27, 2020, 7:31pm UTC](https://devforum.zoom.us/t/getting-error-on-loading-wasm-files/24144/50 "2020-08-27T19:31:53Z")

</div>

Hey @lidia.elmer,

Happy to hear you resolved the issue by serving your site over `https`. 🙂

Thanks,  
Tommy

---

<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:** [August 27, 2020, 7:32pm UTC](https://devforum.zoom.us/t/getting-error-on-loading-wasm-files/24144/51 "2020-08-27T19:32:56Z")

</div>

Hey @dharminder,

Can you please share a github repo with the issue so I can debug locally?

Or share your Web SDK code snippets.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![dndeveloper](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dndeveloper/32/14244_2.png) [@dndeveloper](https://devforum.zoom.us/u/dndeveloper)\
**Post date:** [August 28, 2020, 2:47am UTC](https://devforum.zoom.us/t/getting-error-on-loading-wasm-files/24144/52 "2020-08-28T02:47:06Z")

</div>

This is repo, Where i am getting

 ![Screenshot (3)](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/5/5c4ca6e3628e52d49c4b7de84e9f7420d55c324d.png)

serving locally

---

<div class="post-metadata">

**Author:** ![dndeveloper](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dndeveloper/32/14244_2.png) [@dndeveloper](https://devforum.zoom.us/u/dndeveloper)\
**Post date:** [August 28, 2020, 3:12am UTC](https://devforum.zoom.us/t/getting-error-on-loading-wasm-files/24144/53 "2020-08-28T03:12:06Z")

</div>

I have fixed it nevermind

---

<div class="post-metadata">

**Author:** ![vishwajeetbhosale](https://avatars.discourse-cdn.com/v4/letter/v/f19dbf/32.png) [@vishwajeetbhosale](https://devforum.zoom.us/u/vishwajeetbhosale)\
**Post date:** [August 28, 2020, 2:56pm UTC](https://devforum.zoom.us/t/getting-error-on-loading-wasm-files/24144/54 "2020-08-28T14:56:55Z")

</div>

Hey @tommy,

**Error**  
Download wasm files error, please check your network and firewall

Facing the same error also mention above.  
**Also filled Opt out of reCaptcha for WebSDK.**

Current WebSDK Version is : “@zoomus/websdk”: “^1.8.0”,

Please look into this urgently.

Thanks

---

<div class="post-metadata">

**Author:** ![vishwajeetbhosale](https://avatars.discourse-cdn.com/v4/letter/v/f19dbf/32.png) [@vishwajeetbhosale](https://devforum.zoom.us/u/vishwajeetbhosale)\
**Post date:** [August 28, 2020, 2:59pm UTC](https://devforum.zoom.us/t/getting-error-on-loading-wasm-files/24144/55 "2020-08-28T14:59:24Z")

</div>

Hey @tommy,

**Error**  
Download wasm files error, please check your network and firewall

Facing the same error also mention above.  
**Also filled Opt out of reCaptcha for WebSDK.**

Current WebSDK Version is : “@zoomus/websdk”: “^1.8.0”,

Please look into this urgently.

Thanks

---

<div class="post-metadata">

**Author:** ![vishwajeetbhosale](https://avatars.discourse-cdn.com/v4/letter/v/f19dbf/32.png) [@vishwajeetbhosale](https://devforum.zoom.us/u/vishwajeetbhosale)\
**Post date:** [August 30, 2020, 9:31am UTC](https://devforum.zoom.us/t/getting-error-on-loading-wasm-files/24144/56 "2020-08-30T09:31:00Z")

</div>

Hey @dndeveloper,  
How you fix that error, could you please help with it.

Thanks,  
Vishwajeet Bhosale

---

<div class="post-metadata">

**Author:** ![dharminder](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dharminder/32/12561_2.png) [@dharminder](https://devforum.zoom.us/u/dharminder)\
**Post date:** [August 31, 2020, 4:44am UTC](https://devforum.zoom.us/t/getting-error-on-loading-wasm-files/24144/57 "2020-08-31T04:44:35Z")

</div>

Hey @tommy,

I am using same code provided on the following link : [GitHub - zoom/websdk: Zoom Web SDK](https://github.com/zoom/websdk)

This is working fine when testing on localhost but its giving this error when publishing code on server.

Here is the production build i have uploaded which have issues :

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

Please let me know what is causing the issue on server after publish.

---

<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:** [August 31, 2020, 10:17pm UTC](https://devforum.zoom.us/t/getting-error-on-loading-wasm-files/24144/58 "2020-08-31T22:17:27Z")

</div>

Happy to hear you got it sorted out @dndeveloper! 🙂

Feel free to share how you got it working!

Thanks,  
Tommy

---

<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:** [August 31, 2020, 10:18pm UTC](https://devforum.zoom.us/t/getting-error-on-loading-wasm-files/24144/59 "2020-08-31T22:18:03Z")

</div>

Hey @vishwajeetbhosale, @dharminder,

Do you have a firewall in place that could be blocking loading the Web SDK resources?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![dharminder](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dharminder/32/12561_2.png) [@dharminder](https://devforum.zoom.us/u/dharminder)\
**Post date:** [September 1, 2020, 12:20am UTC](https://devforum.zoom.us/t/getting-error-on-loading-wasm-files/24144/60 "2020-09-01T00:20:04Z")

</div>

Hey @tommy,

I have tried disabling firewall also but still it’s not working for me. I have provided you a link for published version so can you try hosting that so that it can be checked if there is any issue with published version because if you see the console error then you will find out that there are few files for which error 404 is showing, are not available in node\_modules folder.

Infact on my local system firewall is on and this is working fine so why not on cloud server.

Please check this issue on urgent basis.

---

<div class="post-metadata">

**Author:** ![dharminder](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dharminder/32/12561_2.png) [@dharminder](https://devforum.zoom.us/u/dharminder)\
**Post date:** [September 2, 2020, 3:10am UTC](https://devforum.zoom.us/t/getting-error-on-loading-wasm-files/24144/61 "2020-09-02T03:10:00Z")

</div>

Hey @tommy,

I was able to resolve this issue by adding the following lines to the webconfig file :

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

My application was hosted on IIS and IIS was not allowing .wasm file extension to access.

Thanks for your support and quick responses.

---

<div class="post-metadata">

**Author:** ![vishant777](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vishant777/32/10077_2.png) [@vishant777](https://devforum.zoom.us/u/vishant777)\
**Post date:** [September 2, 2020, 3:57pm UTC](https://devforum.zoom.us/t/getting-error-on-loading-wasm-files/24144/62 "2020-09-02T15:57:20Z")

</div>

@tommy,

I’m facing the same issue with my second account which is a Pro Licensed account.

Regarding network and Firewall, it is working fine for one of my react app but for the other, it is not and giving me error as access denied, status code 403.

Here is the snapshot for the same

 ![WasmError](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/b/b8053d0744c8d6e67943af69707d5f03dd625834.png)

Just to be more specific - my both react app shares the same code for zoom integration, generate sign and join & create meeting.

Below is the code for JoinMeeting Component.

```
    async start() {
    const signature = this.state.sign;
    const meetConfig = {
      apiKey: process.env.REACT_APP_API_KEY,
      meetingNumber: this.state.meeting_number,
      leaveUrl: "http://localhost:3000/Dashboard",
      userName: this.state.patientName,
      passWord: this.state.meeting_pwd, // if required
      role: 0, // 1 for host; 0 for attendee or webinar
      signature,
    };

    console.log("Meeting-COnfig", meetConfig);
    ZoomMtg.init({
      leaveUrl: meetConfig.leaveUrl,
      success() {
        console.log("Meeting-Number", meetConfig);
        ZoomMtg.join({
          meetingNumber: meetConfig.meetingNumber,
          userName: meetConfig.userName,
          signature: signature,
          apiKey: meetConfig.apiKey,
          passWord: meetConfig.passWord,
          success: function () {
            console.log("joining meeting success");
          },
          error: function (res) {
            console.log("Error Joining", res);
          },
        });
      },
      error: function (res) {
        console.log("Error Init", res);
      },
    });
  }

  async generateSign() {
    const response = await Api().post(`${config.API_URL}/gen-zoom-sign`, {
      meetingNumber: this.props.patientState.meetingCredentials.meetingNumber
    });
    return response.success;
  }

  async handleClick() {
    const sign = await this.generateSign();
    console.log('sign', sign);
    this.setState({
      ...this.state,
      sign: sign.sign
    })
    this.start();
  }

  async componentDidMount() {
    ZoomMtg.setZoomJSLib('https://source.zoom.us/1.7.8/lib', '/av');
    ZoomMtg.preLoadWasm();
    ZoomMtg.prepareJssdk();
    setTimeout(() => this.handleClick(), 1000);

```

}

Any suggestions here!!

Thanks,  
Vishant

[Previous page](https://devforum.zoom.us/t/getting-error-on-loading-wasm-files/24144.md?page=2)

[Next page](https://devforum.zoom.us/t/getting-error-on-loading-wasm-files/24144.md?page=4)
