Meeting SDK Type and Version
Windows SDK & v6.3.5.55327
Description
I’m running this application inside of a windows Docker container and it seems once it gets to onProxyDetectComplete it just exists/stalls the container
Error?
*PS C:\ava-sdk> docker run zoom-bot
** Visual Studio 2022 Developer Command Prompt v17.12.4
** Copyright (c) 2022 Microsoft Corporation
SDK Initialized.
CreateNetworkConnectionHelper created.
NetworkConnectionHandler registered. Detecting proxy.
onProxyDetectComplete
PS C:\ava-sdk>*
Troubleshooting Routes
I’ve disabled firewalls on my PC, added DNS addresses to docker and still have not gotten any further, there isn’t much logs or errors to debug this issue.
How To Reproduce
Obviously it’s a decent sized application, I can provide where the network handler is called
void init_sdk()
{
SDKError err;
InitParam init_param;
init_param.strWebDomain = L"https://zoom.us";
init_param.enableLogByDefault = true;
if ((err = InitSDK(init_param)) != SDKERR_SUCCESS) show_error_and_exit(err);
std::cout << "SDK Initialized." << '\n';
if ((err = CreateNetworkConnectionHelper(&network_connection_helper)) != SDKERR_SUCCESS) show_error_and_exit(err);
std::cout << "CreateNetworkConnectionHelper created." << '\n';
if ((err = network_connection_helper->RegisterNetworkConnectionHandler(new NetworkConnectionHandler(&sdk_auth))) !=
SDKERR_SUCCESS) show_error_and_exit(err);
std::cout << "NetworkConnectionHandler registered. Detecting proxy." << '\n';
}
int main()
{
init_sdk();
int b_ret;
MSG msg;
while (!g_exit && (b_ret = GetMessage(&msg, nullptr, 0, 0)) != 0)
{
if (b_ret == -1)
{
// handle the error and possibly exit
printf("GetMessage error\n");
}
else
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
}
if (meeting_service) DestroyMeetingService(meeting_service);
if (auth_service) DestroyAuthService(auth_service);
if (network_connection_helper) DestroyNetworkConnectionHelper(network_connection_helper);
CleanUPSDK(); // must do this, or it will crash.
}