book
Article ID: CTX578359
calendar_today
Updated On:
Description
An error has occurred while connecting. Check your server address and data connection. Error Code 548

Resolution
There can be numerous causes for this issue. Each known reason and solution are identified below:
- The first one is documented and is caused by Storefront configuration, see CTX250706.
- Issue with Workspace for Android prior to v23.7.5.3; upgrade Workspace.
- Android does Not support EULAs. Ensure there are no EULAs bound to the Gateway.
- Android Workspace does Not support Bookmarks. Ensure there are no Bookmarks bound to the Gateway.
- Certain versions of ADC have a bug which prevents some necessary default config from being applied. Ensure in your Running Config you have these, and if not, add them from CLI:
- bind policy patset ns_vpn_client_useragents AGEE -index 1 -charset ASCII
- bind policy patset ns_vpn_client_useragents CitrixReceiver -index 2 -charset ASCII
- bind policy patset ns_vpn_client_useragents AGMacClient -index 3 -charset ASCII
- bind policy patset ns_vpn_client_useragents "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0" -index 4 -charset ASCII
- bind policy patset ns_vpn_client_useragents "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:22.0) Gecko/20100101 Firefox/22.0" -index 5 -charset ASCII
- If using Certs for Authentication (client or device) the cert chain link may be missing, or the cert may not be trusted by the Android device. Ensure the CA is installed on the Android as trusted.
- If using nFactor and Cert Authentication is the First Factor, then you must add a NO_AUTHN action prior to the Cert Auth action.
- There is currently (Sept 2023) a Workspace for Android issue which causes this. Workaround for ADC is to bind this rewrite to the ADC Gateway:
- add rewrite action pwcount_act insert_http_header Set-Cookie "\"pwcount=0\""
- add rewrite policy pwcount_pol "HTTP.REQ.URL.CONTAINS(\"vpn/index.html\")&&HTTP.REQ.HEADER(\"User-Agent\").CONTAINS(\"CitrixReceiver\")&&HTTP.REQ.HEADER(\"User-Agent\").CONTAINS(\"Android\")" pwcount_act
Problem Cause
This is primarily caused by misconfiguration of Storefront or the Gateway where compatibility of Android Workspace features needed consideration.