Australian cloud for business software — built and run in Sydney since 2002

NetLeverage
NetLeverage

GlobalProtect unreachable after PAN-OS 10.2.2: invalid auth cookie

Technical article
Troubleshooting

About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.

After a firewall upgrade to PAN-OS 10.2.2, GlobalProtect clients with authentication cookies enabled on the gateway can fail intermittently. Palo Alto lists this line under Error messages seen in PANGPS.log:

The network connection is unreachable or the gateway is unresponsive. Check the network connection and reconnect.

The same knowledge base ties that log entry to auth-failed-invalid-cookie, with environment PAN-OS 10.2.2, GlobalProtect App 6.0.1, and authentication cookies enabled. That is a different fault from IPsec-to-SSL fallback after unreliable IPsec. Symptom overlap with Windows VPN 809 or WireGuard handshake incomplete is only at the wording level—this article covers only the cookie case Palo Alto documents.

What the symptom means

Palo Alto’s cause statement: an invalid cookie was not handled properly and the auth failure was not returned correctly to the GlobalProtect client.

Resolution on the page: the issue is addressed in PAN-194262 in PAN-OS 10.2.3; upgrade to PAN-OS 10.2.3.

Workaround on the page: delete authentication cookies from the GlobalProtect client. Example on Windows: under C:\Users\%USERNAME%\AppData\Local\Palo Alto Networks\GlobalProtect, delete the file starting with PUAC.

Likely causes (our reading)

Cause What you see How to confirm
auth-failed-invalid-cookie after 10.2.2 PANGPS.log shows unreachable/unresponsive plus cookie error PAN-OS 10.2.2; cookies enabled; App 6.0.1
Firewall still on 10.2.2 without workaround Recurring failures after re-auth Version and cookie files still present

Prove the cause before changing anything

These steps only read.

1. Find the exact log line in PANGPS.log. Match Palo Alto’s unreachable/unresponsive wording under Error messages seen in PANGPS.log.

2. Confirm environment. Ask the administrator whether the gateway runs PAN-OS 10.2.2, whether authentication cookies are enabled, and whether clients are on GlobalProtect App 6.0.1 (the page’s environment).

3. Search the same log for auth-failed-invalid-cookie.

Fix

PAN-OS upgrade (description of the page’s resolution)

Palo Alto’s page says to upgrade to PAN-OS 10.2.3 where PAN-194262 addresses the issue. Planning, configuration backup, and the upgrade change window belong to the firewall team’s change process; this article does not give firewall upgrade steps.

Delete authentication cookie files on the client (workaround)

Write down, in a note you keep with the change record (for example gp-cookies-cleared-log.txt): today’s date, and that you are deleting GlobalProtect PUAC cookie files under %LOCALAPPDATA%\Palo Alto Networks\GlobalProtect.

Disruptive step: the next action deletes GlobalProtect authentication cookie files on this device. There is no undo that restores the deleted files; you must sign in again to obtain fresh cookies.

On Windows, open %LOCALAPPDATA%\Palo Alto Networks\GlobalProtect and delete the file or files whose names start with PUAC, as Palo Alto’s workaround example states. Our own advice: quit and reopen GlobalProtect, then connect to the portal and complete authentication; saved portal shortcuts may remain, but cookie-based state is gone.

To undo it: sign in again after the gateway is fixed or after you obtain new cookies.

Confirm the fix

  1. On the affected 10.2.2 path, PANGPS.log no longer shows the unreachable/unresponsive line after the PAN-OS 10.2.3 upgrade or after a successful re-auth with cookies cleared.
  2. PANGPS.log no longer shows auth-failed-invalid-cookie in the same conditions.
  3. A second client that hit the same cookie fault succeeds after the same workaround or after the gateway upgrade.

What to watch afterwards

  • Cookie issues may return if clients stay against unfixed 10.2.2 builds; keep the gateway on PAN-OS 10.2.3 or later where PAN-194262 is fixed.
  • Intermittent unreliable IPsec fallback can follow a successful connect; different message and remedy.

Risks and limits

These steps have not been lab-tested.

Cookie deletion is a workaround, not a substitute for PAN-OS 10.2.3 on affected gateways. The cited page covers the 10.2.2 cookie case only; general captive-portal, DNS, or port troubleshooting is outside that article.

Sources