MacOS WSS Agent users get blank login page instead of SAML IDP login page
search cancel

MacOS WSS Agent users get blank login page instead of SAML IDP login page


Article ID: 251389


Updated On:


Cloud Secure Web Gateway - Cloud SWG


WSS Agent 8.1.2 running on MacOS 12 where authentication into Cloud SWG is done via SAML.

Users accessing Cloud SWG from outside corporate network work fine and get the IDP login page popping up when agent is started.

Users on internal network get a popup page without any error message or challenge for credentials as shown below:

On premise users get a PAC file downloaded to the host that sends almost all internet traffic into the WSS via ( with exception of some internal hosts and RFC1918, which go direct out their network.

On premise SAML IDP server is accessed via public IP address when users are remote, and via an internal IP address when users are on premise.



WSS Agent 8.x on MacOS 12.5.

On premise SAML IDP server.


Request to triggering start of SAML based authentication going out public interface and not in-tunnel interface.


Remove the following RFC1918 and localhost/autoconfig ranges from the WSS bypass list as no traffic is sent into WSS for these ranges anyway. (autoconfig) (localhost)

NOTE: With PAC files and using SAML with WSSA,it is imperative that traffic destined and * goes "DIRECT" in the PAC file so that the traffic will properly be sent through the tunnel.  

When we bypass these IP addresses, and our DNS server is listening on an RFC1918 IP address, DNS snooping is not happening and we sent request out the public interface instead of tunnel as shown below:

Any DNS server listening on any of these RFC1918 IP address ranges will be bypassed and exempted from snooping. In doing that, IPv6 blocking, domain bypass, and SAML authentication will all be impacted.

After removing the RFC1918 IP addresses from WSS bypass list, the WSS agent DNS snooper picked up the DNS requests for and and sent the requests into the tunnel allowing the SAML IDP login page to appear.

Additional Information

Following set of data showed how we identified source of problem:

  1. Grabbed Symdiag when tunnel up but get blank page in WebKit popup (no error)
  2. WSSA logs shows auth request starts at 14:43:37

    [2022-Sep-26 14:42:26 (UTC+2:00)]: Tracing has been enabled
    [2022-Sep-26 14:42:27 (UTC+2:00)]: Started In-Tunnel PCAP to /tmp/wssa-diag.5080/archive/WssaInTunnelTrace.pcap
    [2022-Sep-26 14:43:26 (UTC+2:00)]: U24EU53 manually disabled WSS Agent
    [2022-Sep-26 14:43:26 (UTC+2:00)]: Tunnel#2(U24EU53) Disconnected:  Nat IP:
    [2022-Sep-26 14:43:34 (UTC+2:00)]: U24EU53 reenabled WSS Agent
    [2022-Sep-26 14:43:34 (UTC+2:00)]: CTC Response: ACTIVE(PRECHK)  egress:  GFRPA-  GBEBR-  GNLAM-  GDEFR-
    [2022-Sep-26 14:43:35 (UTC+2:00)]: Attempting to connect to GFRPA via UDP
    [2022-Sep-26 14:43:36 (UTC+2:00)]: CA Tunnel#3(U24EU53): connecting to
    [2022-Sep-26 14:43:36 (UTC+2:00)]: CA Tunnel#3(U24EU53): status:SUCCESS-authorized
    [2022-Sep-26 14:43:36 (UTC+2:00)]: Tunnel#3(U24EU53) connected to concentrator:, Nat IP:, RcvBuf: 2097152
    [2022-Sep-26 14:43:36 (UTC+2:00)]: Connection to WSS successful
    [2022-Sep-26 14:43:37 (UTC+2:00)]: Waiting for user authentication (U24EU53)
    [2022-Sep-26 14:44:15 (UTC+2:00)]: U24EU53 manually disabled WSS Agent
    [2022-Sep-26 14:44:15 (UTC+2:00)]: Tunnel#3(U24EU53) Disconnected:  Nat IP:

  3. HAR file shows one GET request to starting the auth process at 14:43:37 but instead of getting a 307 redirect we get a 204 response with no payload.

  4. Debug WSS Agent logs for this session show that DNS request/response bypassed WSS Agent and hence subsequent request was not sent into agent tunnel - causing auth to break.