Description
I am using zoom web sdk in my angular 8 application. And I have a pro account too. But the issue I am facing is, whenever I am trying to join a meeting, it shows “Download wasm files error, please check your network and firewall.”
I’ve used npm install for web sdk integration and all the wasm files are available at the location.
Error
The full error message or issue you are running into.
Which version?
zoomus/websdk@1.8.1
To Reproduce(If applicable)
Steps to reproduce the behavior:
npm install @zoomus/websdk --save
import { ZoomMtg } from ‘@zoomus/websdk’;
ZoomMtg.preLoadWasm();
ZoomMtg.prepareJssdk();
No VPN and no firewall. The server is hosted on digitalocean and using nginx and pm2 for running the app.
Adding the screenshot to confirm that no VPN and firewall is added on the droplet.
Were you previously experiencing this or did you start experiencing this around October 2nd? If yes, we were experiencing issues with our WebSDK. The issues however have been resolved since.
We see that if it takes more than 30 seconds to load the Web SDK files we throw that error. We are considering extending the timeout time which should fix your issue. (CS-2379)
I think your problem is completely different than what was indicated here. You’re getting a timeout because you did not configure the WASM file location properly.
The javascript, wasm files required by the SDK to execute are not available from your web site.
You are trying to use the local mode, not the CDN zoom resources. Which means you have to make your local static resources available from your web site so that your users can download it.
Have a look again at the documentation on the NPM package:
call the setZoomJSLib with zoom CDN url as first parameter and ‘/av’ as second
or setup a path where your local wasm, js, mp3 zoom static resources are available on your installation location.
For the second option (that you’re using obviously), depending on where and how you host / deploy your application, just doing an npm install is not enough.