Getting error on loading wasm files

Hey @ankitladhania,

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

Thanks,
Tommy

Hey @lidia.elmer,

Can you please provide exact steps to reproduce the issue?

Thanks,
Tommy

@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_video.decode.wasm

Can you please look into this ASAP.

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.

.

I am following this thread ‘Your browser doesn't support using computer's Audio device, please upgrade your browser to the latest version’ to see if it is resolved…

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

Thanks,Lidia

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

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

1 Like

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

Hey @lidia.elmer,

Happy to hear you resolved the issue by serving your site over https. :slight_smile:

Thanks,
Tommy

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

This is repo, Where i am getting

serving locally

I have fixed it nevermind

1 Like

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

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

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

Thanks,
Vishwajeet Bhosale

Hey @tommy,

I am using same code provided on the following link : GitHub - zoom/websdk: Zoom Web SDK

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

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

Happy to hear you got it sorted out @dndeveloper! :slight_smile:

Feel free to share how you got it working!

Thanks,
Tommy

Hey @vishwajeetbhosale, @dharminder,

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

Thanks,
Tommy

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.

Hey @tommy,

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

image

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

Thanks for your support and quick responses.

1 Like

@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

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