I am trying to authenticate using my zoom sdk key and secret but in onAuthenticationReturn callback i am getting authResult error code as 9 ( network issue). I am using zoom sdk version v5.14.5.15340. I am executing code using visual studio 19.
Device: Running windows 11 pro on vmware virtual machine.
Host machine: macOs12.6. Chipset: M1pro
Note: This is working fine on my colleague’s machine.
What are the possible reasons for getting network issues error ?
According to Meeting SDK - Minimum version policy, this version will be deprecated on May4. I am trying to move to latest zoom version but before that wanted to test the current version on my windows 11 vm. This auth is not working on windows 11 (seems to work in windows 10).
@chunsiong.zoom I upgraded my zoom sdk to latest version. For forming my JWT I followed the instructions given here:
Used the jwt in this code snippet →
AuthContext authContext;
authContext.jwt_token = “XXX”;
LOG_INFO(TAG)<<“Authenticating Zoom SDK”<<endl;
throwIfNotSuccess(authService->SDKAuth(authContext), LINE);
But in onAuthenticationReturn callback I am getting authResult as 5 (Unknown error). What can be possible reasons for this error ?
@cai.zoom since the JWT token works for the sample app, we can deduce that it is not a token issue. It might make more sense to try to capture a log while replicating this issue.
Are you able to capture the log based on this guide?
@cai.zoom , I’ve PM you some findings earlier. wanted to check if you are using proxy server or specific firewall in your environment? There might be some odd URL rewrite done for outgoing traffic
@chunsiong.zoom I have tested this code in windows server 2016 using microsoft remote desktop and in windows 11 using vmware virtual machine. In both these machine I got the result error. I am not using any specific firewall in my environment. I tried authenticating with turning off all my firewalls but still got the same error.
Please let me know the how can i debug this further
Glad to inform that this issue is resolved.
Solution I had earlier set strWebDomain as L"http://zoom.us" and this was working fine for previous authentication method. But when shifting to JWT based auth set strWebDomain as L"https://zoom.us" . This will resolve the issue. cc @chunsiong.zoom Thanks for all the help.