Gateway page stuck after authentication on Chrome browser v100

Gateway page stuck after authentication on Chrome browser v100

book

Article ID: CTX399433

calendar_today

Updated On:

Description

- Citrix Gateway integration with Storefront
- Custom Themes based on RFWEBUI, but may appear with others too 
- Observed at CVPN and Regular Storefront Integrations. 
- Chrome Version updated to 100.0.4896.60 (Official Build) (64-bit) or later triggers the issue. 
- Page is stuck (spinning circle observed)
- Chrome version 99 works
- Firefox current version 98.0.2 Works
- Not observed at NSV13.1 Build 24.38  and later versions. 
- Observed at NS13.0: Build 83.29.nc but may be present at others. 

image.png

This error can be observed at the developers tool for the console section/logs. "Uncaught TypeError: cannot read properties of null" 


image.png

Error is not visible when using the default RfWebUI theme.

Resolution

As mentioned at https://support.citrix.com/article/CTX223794 , Themes and ADC file customizations are not supported except for those done via GUI and mentioned directly by our below documentation.

https://docs.citrix.com/en-us/citrix-gateway/current-release/vpn-user-config/customize-user-portal-for-vpn-users.html

This issue seems to affect chrome-based browsers after v100 update for Custom themes

Permanent Fix is available in firmware versions 13.0 Build 86.17 and above, 13.1 Build 24.38 and above.

The following workaround may be applied:

  1. Make a copy of the plugins.xml file located in /var/netscaler/logon/themes/<customThemeName>/plugins.xml as safety measure.
  2. Edit the file, /var/netscaler/logon/themes/<customThemeName>/plugins.xml; find all occurrences of \\d and replace them with \d within the session <pluginAssistant> html5 and protocolHandler only.
  3. Save the file.
  4. Flush NS cache using NSCLI command  "> flush cache contentgroup loginstaticobjects"
  5. Setting the aaa page to not be cached also can help. "set aaa parameter -enableStaticPageCaching NO" 


Other Workarounds:

  • Switch back to default RfWebUI  Theme
  • Use Firefox or other browser
  • Edit plugins.xml file described above

Problem Cause

Chrome and Chromium V100+ versions seems to trigger a compatibility issue with custom RFWEBUI themes due to regex mismatch of user-agent in case of custom themes. 

Issue/Introduction

Default theme RfWebUI not affected. Any other customization based on that theme seems to be triggering the error. Keypoints: Chrome V100 and Theme customization; spinning circle after log-in / stuck at loading applications.