# Zoom SDK fails to initialize when connected to VPN

**URL:** <https://devforum.zoom.us/t/zoom-sdk-fails-to-initialize-when-connected-to-vpn/24462>\
**Category:** Android\
**Created:** [July 17, 2020, 7:33pm UTC](https://devforum.zoom.us/t/zoom-sdk-fails-to-initialize-when-connected-to-vpn/24462 "2020-07-17T19:33:22Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![caleb.c](https://avatars.discourse-cdn.com/v4/letter/c/b2d939/32.png) [@caleb.c](https://devforum.zoom.us/u/caleb.c)\
**Post date:** [July 17, 2020, 7:33pm UTC](https://devforum.zoom.us/t/zoom-sdk-fails-to-initialize-when-connected-to-vpn/24462/1 "2020-07-17T19:33:22Z")

</div>

**Description**  
The Zoom SDK will fail to initialize in an application running on an emulator on a machine connected to a VPN.

The initialization callback `onZoomSDKInitializeResult` returns the error codes “3” and “5003”.

If the VPN is disabled, Zoom will properly initialize after the application and emulator are restarted.

**Which version?**  
Zoom SDK Version v5.0.24433.0616

**Smartphone:**

- Device: Pixel 3 Emulator
- OS: Android
- Version: API 29

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [July 18, 2020, 6:21am UTC](https://devforum.zoom.us/t/zoom-sdk-fails-to-initialize-when-connected-to-vpn/24462/2 "2020-07-18T06:21:29Z")

</div>

Hi @caleb.c,

Thanks for the post. Could you provide the SDK log for us to further investigate? It could be the VPN is blocking the connection from SDK.

Thanks!

---

<div class="post-metadata">

**Author:** ![caleb.c](https://avatars.discourse-cdn.com/v4/letter/c/b2d939/32.png) [@caleb.c](https://devforum.zoom.us/u/caleb.c)\
**Post date:** [July 20, 2020, 4:33pm UTC](https://devforum.zoom.us/t/zoom-sdk-fails-to-initialize-when-connected-to-vpn/24462/3 "2020-07-20T16:33:27Z")

</div>

Hey @carson.zoom,

> Could you provide the SDK log for us to further investigate? It could be the VPN is blocking the connection from SDK.

If you’re referring to errors logged to the console, the `onZoomSDKInitializeResult` is returning an `errorCode` of 3 and an `internalErrorCode` of 5003.

If you’re referring to the [Log feauture](https://marketplace.zoom.us/docs/sdk/native-sdks/android/mastering-zoom-sdk/sdk-initialization#2-log-feature), I’ve attempted to set this up but I do not see a log file created anywhere. Perhaps i’m looking in the wrong place (I checked `/Android/data/(or your app's name)/logs/` as suggested), but I am assuming that if the initialization for the SDK fails, then the initialization for the Log feature also fails.

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [July 24, 2020, 4:49am UTC](https://devforum.zoom.us/t/zoom-sdk-fails-to-initialize-when-connected-to-vpn/24462/4 "2020-07-24T04:49:18Z")

</div>

Hi @caleb.c,

Thanks for the reply. The error code 5003 means network error. This might caused by the VPN itself blocking SDK connection. Please make sure your VPN does not block the domain and IP mentioned in [https://support.zoom.us/hc/en-us/articles/201362683-Network-firewall-or-proxy-server-settings-for-Zoom](https://support.zoom.us/hc/en-us/articles/201362683-Network-firewall-or-proxy-server-settings-for-Zoom)

Thanks!

---

<div class="post-metadata">

**Author:** ![carolynquinnxe8z](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carolynquinnxe8z/32/24530_2.png) [@carolynquinnxe8z](https://devforum.zoom.us/u/carolynquinnxe8z)\
**Post date:** [March 14, 2021, 11:21pm UTC](https://devforum.zoom.us/t/zoom-sdk-fails-to-initialize-when-connected-to-vpn/24462/6 "2021-03-14T23:21:17Z")

</div>

I also had the same trouble ☹

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [March 15, 2021, 5:02pm UTC](https://devforum.zoom.us/t/zoom-sdk-fails-to-initialize-when-connected-to-vpn/24462/7 "2021-03-15T17:02:03Z")

</div>

Hi @carolynquinnxe8z, thanks for using the dev forum.

Can you please provide which error code you are receiving when initializing the SDK? Have you tried the approach listed in the previous reply?

Thanks!

---

<div class="post-metadata">

**Author:** ![carolynquinnxe8z](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carolynquinnxe8z/32/24530_2.png) [@carolynquinnxe8z](https://devforum.zoom.us/u/carolynquinnxe8z)\
**Post date:** [March 15, 2021, 11:31pm UTC](https://devforum.zoom.us/t/zoom-sdk-fails-to-initialize-when-connected-to-vpn/24462/8 "2021-03-15T23:31:44Z")

</div>

Zoom is a very modern program and due to the coronavirus epidemic, all schools and people use it because it is very fast and free. But unfortunately, not all VPN applications are connected to the zoom, which prevents people who need to hide their location from working in zoom safely for themselves. And to our happiness with you, this is all easily solved by new VPN services and sites with information, one of which I will show you. The site [pinpointvpn.com](https://pinpointvpn.com/) is a collection of not only information about VPN and how to use them, but also shows the top 10 VPN services and sites that include functions for zoom.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [March 16, 2021, 3:51pm UTC](https://devforum.zoom.us/t/zoom-sdk-fails-to-initialize-when-connected-to-vpn/24462/9 "2021-03-16T15:51:53Z")

</div>

Hi @carolynquinnxe8z,

Your post does not appear to pertain to the Zoom Android SDK. This forum is only meant for helping developers who are integrating our SDK into their own applications. For any general Zoom needs or help with the Zoom client, please visit our [general support page](https://support.zoom.us/hc/en-us).

Thanks!

---

<div class="post-metadata">

**Author:** ![apksbook](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/apksbook/32/34382_2.png) [@apksbook](https://devforum.zoom.us/u/apksbook)\
**Post date:** [July 25, 2022, 3:14pm UTC](https://devforum.zoom.us/t/zoom-sdk-fails-to-initialize-when-connected-to-vpn/24462/10 "2022-07-25T15:14:41Z")

</div>

Hi,  
Thank you so much for contributing in this post. I was facing similar issue 2,3 days ago and now it is solved because of this post[.](https://apksbook.com/speed-vpn-for-pc/) I will share this platform or post with my friends.  
Thanks

---

<div class="post-metadata">

**Author:** ![vcyscdkphyg](https://avatars.discourse-cdn.com/v4/letter/v/6f9a4e/32.png) [@vcyscdkphyg](https://devforum.zoom.us/u/vcyscdkphyg)\
**Post date:** [November 9, 2022, 3:56pm UTC](https://devforum.zoom.us/t/zoom-sdk-fails-to-initialize-when-connected-to-vpn/24462/11 "2022-11-09T15:56:41Z")

</div>

Firstly, I want to thank you for contributing to this article. I also had the same trouble, I was experiencing the same issue 2,3 days ago, but now that I have read this post, it has been resolved. I will recommend to use [mod VPN apk](https://modvpnapk.com/) to conect with zoom, it will work fine
