Unable to launch a published desktop session using Citrix Workspace app for HTML5 when connection is via NetScaler.
Desktop launches fine when not going through HTML5.
When launching directly from Storefront, bypassing netscaler, HTML5 session launches without any issues.
When launching HTML5 session through Citrix Gateway, session will start and users will receive a black screen with "connection interrupted' error message.
After checking the firewall / proxy, the .wasm file needed for HTML5 sessions was being blocked.
In the network logs, we could the see the below URL being blocked:
https://gatewaydomainname/Citrix/SRIAWeb/clients/HTML5Client/ThirdPartyLibrary/WASM/sampleWASM.wasm
Note: gatewaydomainname will be the name of your gateway.
Once the .wasm file was permitted to the file extensions list for secure IIS configuration on the storefront server as per our documentation, published desktops could then be launched via gateway.