# Websdk not working in deployed environment

**URL:** <https://devforum.zoom.us/t/websdk-not-working-in-deployed-environment/53710>\
**Category:** Web\
**Created:** [July 6, 2021, 8:31pm UTC](https://devforum.zoom.us/t/websdk-not-working-in-deployed-environment/53710 "2021-07-06T20:31:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![luucaford](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/luucaford/32/28332_2.png) [@luucaford](https://devforum.zoom.us/u/luucaford)\
**Post date:** [July 6, 2021, 8:31pm UTC](https://devforum.zoom.us/t/websdk-not-working-in-deployed-environment/53710/1 "2021-07-06T20:31:27Z")

</div>

**Description**  
Locally the SDK works fine, but when deployed we get a black screen when joining a meeting. If you enter from the zoom software you can see that the user entering from the websdk is “joining …” as shown in the image below. But the user sees all black. No sound, no video.

**Error**  
Console error:  
`net::ERR_CERT_COMMON_NAME_INVALID`

 ![Captura de Pantalla 2021-07-06 a la(s) 17.28.17](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/6/1668b1d462651dc1c15521c66c8bc9e63da1f969.png)

**Which Web Client SDK version?**  
“@zoomus/websdk”: “^1.9.6”,

**To Reproduce(If applicable)**  
When a user join a meeting it goes all black and trigger that console errors.

**Screenshots**  
All black screen

**Device (please complete the following information):**

- Chrome Browser Versión 91.0.4472.114 (Build oficial) (x86\_64)

---

<div class="post-metadata">

**Author:** ![luucaford](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/luucaford/32/28332_2.png) [@luucaford](https://devforum.zoom.us/u/luucaford)\
**Post date:** [July 7, 2021, 2:00am UTC](https://devforum.zoom.us/t/websdk-not-working-in-deployed-environment/53710/2 "2021-07-07T02:00:51Z")

</div>

**Quick update:**  
We did fix the net::ERR\_CERT\_COMMON\_NAME\_INVALID error by changing the zoom credentials to a Pro account (was a basic one). But the problem persist and now we get MIME related errors as shown below.

`Refused to execute script from 'DOMAIN/node_modules/@zoomus/websdk/dist/lib/webim.min.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.`  
Still working well Locally.

---

<div class="post-metadata">

**Author:** ![luucaford](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/luucaford/32/28332_2.png) [@luucaford](https://devforum.zoom.us/u/luucaford)\
**Post date:** [July 7, 2021, 2:38am UTC](https://devforum.zoom.us/t/websdk-not-working-in-deployed-environment/53710/3 "2021-07-07T02:38:24Z")

</div>

Ok, we found a workaround and it’s working.

- Downgrade from 1.9.6 to 1.9.5
- Used the CDN solution for importing bootstrap and react-select

Despite the solution, Any clue of what might have happened?

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [July 7, 2021, 11:16pm UTC](https://devforum.zoom.us/t/websdk-not-working-in-deployed-environment/53710/4 "2021-07-07T23:16:07Z")

</div>

Hey @luucaford,

Thank you for reaching out to the Zoom Developer Forum. Is this happening when using the [Sample Web App](https://github.com/zoom/sample-app-web) as well? What steps can I take to reproduce the issue on my end?

Thanks,  
Max

---

<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:** [August 7, 2021, 9:17am UTC](https://devforum.zoom.us/t/websdk-not-working-in-deployed-environment/53710/5 "2021-08-07T09:17:03Z")

</div>

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