# Docker Image Exiting/Stalling after onProxyDetectComplete

**URL:** <https://devforum.zoom.us/t/docker-image-exiting-stalling-after-onproxydetectcomplete/125435>\
**Category:** Meeting SDK\
**Created:** [January 28, 2025, 2:14pm UTC](https://devforum.zoom.us/t/docker-image-exiting-stalling-after-onproxydetectcomplete/125435 "2025-01-28T14:14:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eoin-mcc](https://avatars.discourse-cdn.com/v4/letter/e/958977/32.png) [@eoin-mcc](https://devforum.zoom.us/u/eoin-mcc)\
**Post date:** [January 28, 2025, 2:14pm UTC](https://devforum.zoom.us/t/docker-image-exiting-stalling-after-onproxydetectcomplete/125435/1 "2025-01-28T14:14:35Z")

</div>

**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

```auto
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. 
}

```
