# SDKERR\_UNINITIALIZE on meeting join; worked yesterday

**URL:** <https://devforum.zoom.us/t/sdkerr-uninitialize-on-meeting-join-worked-yesterday/17080>\
**Category:** Meeting SDK\
**Created:** [May 11, 2020, 1:32pm UTC](https://devforum.zoom.us/t/sdkerr-uninitialize-on-meeting-join-worked-yesterday/17080 "2020-05-11T13:32:46Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![side.parting](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@side.parting](https://devforum.zoom.us/u/side.parting)\
**Post date:** [May 11, 2020, 1:32pm UTC](https://devforum.zoom.us/t/sdkerr-uninitialize-on-meeting-join-worked-yesterday/17080/1 "2020-05-11T13:32:46Z")

</div>

**Description**  
In onLoginRet (which returns LOGINSTATUS::LOGIN\_SUCCESS), I am doing:

```
ZOOMSDK::JoinParam meetingParameters;
meetingParameters.userType = SDKUserType::SDK_UT_NORMALUSER;
meetingParameters.param.normaluserJoin.meetingNumber = "123456";
meetingParameters.param.normaluserJoin.psw = "123456";
CSDKWrap.GetMeetingServiceWrap().Join(meetingParameters);

```

This is now returning SDKERR\_UNINITIALIZE even though all previous stages have succeeded (login, init sdk etc.).

I am the using Zoom SDK from [https://codeload.github.com/zoom/zoom-sdk-windows/zip/v4.6.21666.0428](https://codeload.github.com/zoom/zoom-sdk-windows/zip/v4.6.21666.0428)

Why would I get SDKERR\_UNINITIALIZE ? This worked yesterday(without normaluserJoin.psw).

Is there a log file to troubleshoot this??

**To Reproduce(If applicable)**  
All stages until onLoginRet as before.

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

- Device Spec: PC
- OS: Windows
- Version 10

---

<div class="post-metadata">

**Author:** ![side.parting](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@side.parting](https://devforum.zoom.us/u/side.parting)\
**Post date:** [May 11, 2020, 3:36pm UTC](https://devforum.zoom.us/t/sdkerr-uninitialize-on-meeting-join-worked-yesterday/17080/2 "2020-05-11T15:36:49Z")

</div>

One idea I do have is that I now include openssl statically in my binary.

Does Zoom SDK use OpenSSL? If so, what version does it use?

---

<div class="post-metadata">

**Author:** ![side.parting](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@side.parting](https://devforum.zoom.us/u/side.parting)\
**Post date:** [May 12, 2020, 6:30pm UTC](https://devforum.zoom.us/t/sdkerr-uninitialize-on-meeting-join-worked-yesterday/17080/3 "2020-05-12T18:30:52Z")

</div>

I’ve tried to use mbedTLS instead in my application and no longer link to OpenSSL but I am still getting a failure joining with SDKERR\_UNITIALIZE.

I’ve also tried this:  
ZOOMSDK::StartParam meetingParameters;  
meetingParameters.userType = SDKUserType::SDK\_UT\_NORMALUSER;  
meetingParameters.param.normaluserStart.meetingNumber = 123456;

Seriously, can I get some assistance with this??

How on earth do I troubleshoot this? This was working on Sunday.

There is a Zoom log file but it’s unreadable by human eyes. How can I examine this? The “documentation” at [https://marketplace.zoom.us/docs/sdk/native-sdks/windows/resource/error-codes](https://marketplace.zoom.us/docs/sdk/native-sdks/windows/resource/error-codes) says “SDK is not initialized before the use” which means nothing.

If the initialisation of the SDK failed, InitSDK should have failed but doesn’t.  
If the initialisation of the SDK failed, SDKAuth should have failed, but doesn’t.  
If the initialisation of the SDK failed, auth service Login should have failed, but doesn’t.  
The only failure is at GetMeetingServiceWrap().Start or GetMeetingServiceWrap().Join.  
Why??

How can I get better support on your SDK than waiting a week for a response??

---

<div class="post-metadata">

**Author:** ![side.parting](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@side.parting](https://devforum.zoom.us/u/side.parting)\
**Post date:** [May 12, 2020, 9:38pm UTC](https://devforum.zoom.us/t/sdkerr-uninitialize-on-meeting-join-worked-yesterday/17080/4 "2020-05-12T21:38:18Z")

</div>

With sys internal’s Process Monitor I can see that it is loading all of the z\* dlls in the SDK successfully (and Visual Studio also shows it loading those modules), and can also see it enumerating my Firefox profile directory (why???) and reading/writing these files before uninitialize is returned:  
C:\Users\MyUser\AppData\Roaming\ZoomSDK\data  
C:\Users\MyUser\AppData\Roaming\ZoomSDK\data\VirtualBkgnd\_Default  
C:\Users\MyUser\AppData\Roaming\ZoomSDK\data\VirtualBkgnd\_Custom  
C:\zoom-sdk-windows-master\bin  
C:\zoom-sdk-windows-master\bin\zcacert.pem  
C:\zoom-sdk-windows-master\bin  
C:\Users\MyUser\AppData\Roaming\ZoomSDK\data\zoomus.db  
C:\Users\MyUser\AppData\Roaming\ZoomSDK\data\zoomus.db  
C:\Users\MyUser\AppData\Roaming\ZoomSDK\data\zoomus.db-journal

The db is a sqlite3 file but there’s nothing useful in there.

How can I find why the SDK is unloading??

---

<div class="post-metadata">

**Author:** ![side.parting](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@side.parting](https://devforum.zoom.us/u/side.parting)\
**Post date:** [May 13, 2020, 6:08pm UTC](https://devforum.zoom.us/t/sdkerr-uninitialize-on-meeting-join-worked-yesterday/17080/6 "2020-05-13T18:08:16Z")

</div>

I have modified the code to use the 32bit sdk.lib and statically link that instead of using the wrapper from the C# SDK (where I used to build wrapper into a wrap.lib and link that).

Now it does even less! It now doesn’t even authenticate. I can see from tracing network connections using a nirsoft utility that it reaches Zoom’s US servers but onAuthenticationReturn fails with AUTHRET\_NETWORKISSUE.  
If you ask the SDK for an informative error message is says “Should not be an error. Something wrong with SDK.”.  
This is not helpful at all.

A second attempt at authenticating doesn’t even call the “onAuthenticationReturn” callback and so just sits there forever. You can see from a network trace that the connection has been dropped but the callback is not returned.

How can I get this SDK working? Is there something you’ve disabled on my account remotely or something???

Hello?

---

<div class="post-metadata">

**Author:** ![side.parting](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@side.parting](https://devforum.zoom.us/u/side.parting)\
**Post date:** [May 14, 2020, 5:43pm UTC](https://devforum.zoom.us/t/sdkerr-uninitialize-on-meeting-join-worked-yesterday/17080/7 "2020-05-14T17:43:49Z")

</div>

Hello could I get some help on this please? It has been 3+ days since asking for help.

What other channels are there for getting support on this? How can we use the Zoom SDK or encourage its use if we can’t get help on it when it doesn’t work?

---

<div class="post-metadata">

**Author:** ![side.parting](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@side.parting](https://devforum.zoom.us/u/side.parting)\
**Post date:** [May 15, 2020, 5:13pm UTC](https://devforum.zoom.us/t/sdkerr-uninitialize-on-meeting-join-worked-yesterday/17080/8 "2020-05-15T17:13:58Z")

</div>

Hello it’s been 5 days and I still cannot log in using the SDK on multiple machines.

Can I get a response please?

---

<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:** [May 15, 2020, 8:00pm UTC](https://devforum.zoom.us/t/sdkerr-uninitialize-on-meeting-join-worked-yesterday/17080/9 "2020-05-15T20:00:57Z")

</div>

Hi [side.parting](https://devforum.zoom.us/u/side.parting),

Thanks for the post and pardon the late response. We have increasing demands recently so we are expecting some delay here.

Regarding your questions:  
1.

> [@side.parting](#):
>
> Why would I get SDKERR\_UNINITIALIZE ?

If you have successfully initialized the SDK but still getting this error, it could be some of the SDK services gt impacted on your machine and became unavailable to use. I am not able to reproduce this error on my side so I would need some help from you for further investigation. Please have a try with the following:

1). Please try to download the latest version of Windows SDK from Github([https://github.com/zoom/zoom-sdk-windows/tree/master/bin](https://github.com/zoom/zoom-sdk-windows/tree/master/bin)) again, and replace the files in your /bin folder with those in your project’s bin folder.  
2). If this issue persists, could you provide the SDK log for us to further investigate? Here are the steps to enable and to retrieve the logs:

i. When initializing the SDK , set the InitParam.enableLogByDefault to be true, then the log feature will be enabled

```auto
ZOOM_SDK_NAMESPACE::InitParam initParam;
initParam.strWebDomain = strWebDomain.c_str();
initParam.strSupportUrl = L"https://zoom.us";
initParam.enableLogByDefault = true;
m_bSDKInit = CSDKHelper::Init(initParam);

```

ii. Build and run your SDK app, after experiencing the issue, then exit the app normally.  
iii. You will find the log file in: `%appdata%/zoomsdk/logs/`

1. 

> [@side.parting](#):
>
> Does Zoom SDK use OpenSSL? If so, what version does it use?

Yes, we use OpenSSL, and we are using 1.1.1e

Hope this helps. Thanks!

---

<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:** [May 15, 2020, 8:04pm UTC](https://devforum.zoom.us/t/sdkerr-uninitialize-on-meeting-join-worked-yesterday/17080/11 "2020-05-15T20:04:49Z")

</div>

Hi [side.parting](https://devforum.zoom.us/t/sdkerr-uninitialize-on-meeting-join-worked-yesterday/17080/7),

I would also like to confirm the following: Are you getting this issue with our demo app (demo\_v2)? Or with your own project that integrates Zoom SDK? Is our demo app working well on your machine?

Looking forward to hearing from you. Thanks!

---

<div class="post-metadata">

**Author:** ![side.parting](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@side.parting](https://devforum.zoom.us/u/side.parting)\
**Post date:** [May 18, 2020, 3:57pm UTC](https://devforum.zoom.us/t/sdkerr-uninitialize-on-meeting-join-worked-yesterday/17080/12 "2020-05-18T15:57:52Z")

</div>

Thanks for your reply. I built the demo app and that worked and logged in and created a meeting.

I could not debug the demo application because the debug version of the 2017 project does not include any include paths, nor does it have anything in the linker directives, so you get this:  
zoom-sdk-windows-master\demo\sdk\_demo\_v2\stdafx.h(20,10): fatal error C1083: Cannot open include file: ‘UIlib.h’: No such file or directory

It won’t link on VS2019 if you link against zoom-sdk-windows-master\demo\duilib\lib\DuiLib\_2017.lib on the debug build, so I can’t debug it.

I have enabled logging and can see a log in ZoomSDK\logs but the log is completely unreadable - is it a binary format?

Do I need to send it to you?? I can’t read it.

---

<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:** [May 20, 2020, 6:34am UTC](https://devforum.zoom.us/t/sdkerr-uninitialize-on-meeting-join-worked-yesterday/17080/13 "2020-05-20T06:34:06Z")

</div>

Hi [side.parting](https://devforum.zoom.us/u/side.parting),

Thanks for the reply. Did you launch the sdk\_demo\_v2 project by opening this file: [https://github.com/zoom/zoom-sdk-windows/blob/master/demo/sdk\_demo\_v2/sdk\_demo\_v2\_2017.sln](https://github.com/zoom/zoom-sdk-windows/blob/master/demo/sdk_demo_v2/sdk_demo_v2_2017.sln)? And you will need to set the Solution Configuration to Release and the Solution Platforms to x86.

The SDK log is encrypted. Would you mind placing the log in a shared drive (such as Google Drive) and share with me?

Thanks!

---

<div class="post-metadata">

**Author:** ![side.parting](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@side.parting](https://devforum.zoom.us/u/side.parting)\
**Post date:** [May 20, 2020, 6:13pm UTC](https://devforum.zoom.us/t/sdkerr-uninitialize-on-meeting-join-worked-yesterday/17080/14 "2020-05-20T18:13:27Z")

</div>

Hi Carson,  
Thanks for replying. Yes I managed to build the release version of the sdk\_demo\_v2\_2017.sln but the debug version is missing include paths or linker directives of any kind.

The log files are here: [https://drive.google.com/folderview?id=1EJLNXv6xJdGQCusjhMoQkIhHVGCWMv32](https://drive.google.com/folderview?id=1EJLNXv6xJdGQCusjhMoQkIhHVGCWMv32)

I would be interested in what you find. My 32 bit application is linked against sdk.lib as well as libcurl (using schannel) and ixwebsockets (which is linked against zlib and mbedTLS).

---

<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:** [May 21, 2020, 6:31am UTC](https://devforum.zoom.us/t/sdkerr-uninitialize-on-meeting-join-worked-yesterday/17080/15 "2020-05-21T06:31:26Z")

</div>

Hi [side.parting](https://devforum.zoom.us/u/side.parting),

Yes, currently we only support “Release” version as mentioned in [https://marketplace.zoom.us/docs/sdk/native-sdks/windows/getting-started/build-run-play](https://marketplace.zoom.us/docs/sdk/native-sdks/windows/getting-started/build-run-play).

Thanks for sharing the log file, I will forward it to the engineering team for investigation and I will get back to you as soon as I heard back from them.

Thanks!

---

<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:** [May 22, 2020, 7:55am UTC](https://devforum.zoom.us/t/sdkerr-uninitialize-on-meeting-join-worked-yesterday/17080/16 "2020-05-22T07:55:52Z")

</div>

Hi @side.parting,

Thanks for providing the log. Based on the log file, the SDK authentication failed due to network error(curl error 56). Please double check your network status and make sure the SDK app has the proper permission to connect to the internet.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![side.parting](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@side.parting](https://devforum.zoom.us/u/side.parting)\
**Post date:** [May 22, 2020, 11:03am UTC](https://devforum.zoom.us/t/sdkerr-uninitialize-on-meeting-join-worked-yesterday/17080/17 "2020-05-22T11:03:56Z")

</div>

Does the Zoom SDK use curl then?

I don’t see mention of curl anywhere in the licence of the Zoom SDK which would be a violation of curl’s licence requirements?

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 9:29pm UTC](https://devforum.zoom.us/t/sdkerr-uninitialize-on-meeting-join-worked-yesterday/17080/18 "2020-08-21T21:29:25Z")

</div>

Closed on August 21, 2020, 9:29pm UTC


