Error "No Apps available at this time" on workspace for iOS app after upgrading to ADC 13.0 build 52.24
book
Article ID: CTX272402
calendar_today
Updated On:
Description
After upgrading ADC to version 13.0 build 52.24 iOS Workspace App misbehaving by presenting a longer form against usual and error "No Apps available at this time" on login

Resolution
A workaround would be to create rewrite policy to manually insert the cookie.
add rewrite action pw-count insert_http_header Set-Cookie "\"pwcount=0;Secure;HttpOnly;Path=/;expires=Wednesday, 09-Nov-1999 23:12:40 GMT\""
add rewrite policy pwcount "HTTP.REQ.HOSTNAME.EQ(\"GatewayFQDN\")&&HTTP.REQ.URL.CONTAINS(\"vpn/index.html\")&&HTTP.REQ.HEADER(\"User-Agent\").CONTAINS(\"CitrixReceiver\")&&HTTP.REQ.HEADER(\"User-Agent\").CONTAINS(\"iOS\")" pw-count
bind rewrite global pwcount 100 END -type RES_OVERRIDE
Make sure to modify GatewayFQDN value with the Gateway URL.
Problem Cause
Version 13.0 build 52.24 do not set pwcount cookie in response to /vpn/index.html request as below.
HTTP/1.1 200 OK
Date: Fri, 08 May 2020 05:19:10 GMT
Server: Apache
X-Frame-Options: SAMEORIGIN
Last-Modified: Fri, 08 May 2020 04:56:44 GMT
Accept-Ranges: bytes
Content-Length: 3674
Cache-Control: no-cache, no-store, must-revalidate
Pragma: no-cache
Expires: 0
Keep-Alive: timeout=15, max=92
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8
Set-Cookie: pwcount=0;Secure;HttpOnly;Path=/;expires=Wednesday, 09-Nov-1999 23:12:40 GMT
Cache-Control: no-cache
Was this article helpful?
thumb_up
Yes
thumb_down
No