Bug ID 1054305: APM Citrix integration mode and HTML5 reconnect after outage fails

Last Modified: Oct 22, 2021

Bug Tracker

Affected Product:  See more info
BIG-IP APM(all modules)

Known Affected Versions:
14.1.0, 14.1.0.1, 14.1.0.2, 14.1.0.3, 14.1.0.5, 14.1.0.6, 14.1.2, 14.1.2.1, 14.1.2.2, 14.1.2.3, 14.1.2.4, 14.1.2.5, 14.1.2.6, 14.1.2.7, 14.1.2.8, 14.1.3, 14.1.3.1, 14.1.4, 14.1.4.1, 14.1.4.2, 14.1.4.3, 14.1.4.4, 15.1.0, 15.1.0.1, 15.1.0.2, 15.1.0.3, 15.1.0.4, 15.1.0.5, 15.1.1, 15.1.2, 15.1.2.1, 15.1.3, 15.1.3.1, 15.1.4, 16.1.0

Opened: Oct 12, 2021
Severity: 3-Major

Symptoms

Citrix VDI desktop/apps reconnect fails after network outage when HTML5 client is used

Impact

Users may not access desktop/app after Network restores.

Conditions

1. Citrix VDI is configured in integration mode 2. VDI resource Desktop/Apps is accessed using HTML5 client by clicking on webtop resource. 3. Network outage happens

Workaround

Add following iRule to the Citrix virtual server. when HTTP_REQUEST { set type [ACCESS::session data get session.client.type] set tmm_apm_ws_origin "https://[string tolower [HTTP::host]]" if { ([HTTP::method] equals "GET") && ([HTTP::path] equals "/") && ([string tolower [HTTP::header Connection]] contains "upgrade") && ([string tolower [HTTP::header Upgrade]] equals "websocket") && (!($type starts_with "citrix")) && ([ACCESS::session exists -state_allow] || [ACCESS::session exists -state_redirect]) && (($tmm_apm_ws_origin equals [string tolower [HTTP::header Origin]]))} { ACCESS::session data set session.client.citrix "1" # log local0. "session.client.citrix set to 1" } }

Fix Information

None

Behavior Change