To auto launch desktop, you should ensure Citrix Webhelper work as invoked mode to access desktop/app via Citrix Gateway, please refer to CTX221662 for more details. This need user to encounter "Detect Citrix Workspace app" page to check local installed Citrix Workspace app. If you do not see this page, there are two ways to get to this page:
2. Click "Open Citrix Workspace Launcher", Webhelper will send STA ticket to Gateway through Socks5 connection (Frame 16059 ~ 16084);
3. Once receive the STA ticket, ADC will send request POST /Scripts/ctxsta.dll to STA server to validate the ticket ID submitted from the Webhelper, STA server will respond Storefront base url in ResponseData;
4. ADC resolves the base URL in ResponseData and initiate a TCP connection to it;
5. Webhelper will collect local workspace information and send request reportDetectionStatus to Storefront via Gateway;
6. Once received response success status from Storefront, browser will send GetDetectionStatus to Storefront via Gateway, if Storefront responds success, browser will redirect to Storefront resource enumeration page; Citrix Webhelper will work as invoked mode;
In this case, the name server is not configured in ADC, so ADC cannot resolve base url of Storefront in ResponseData and initiate a TCP connection, ADC respond 0x5 error code to browser and disconnect the Socks5 connection;