GlobalProtect with pre-logon does not connect after reboot.

GlobalProtect with pre-logon does not connect after reboot.

2035
Created On 10/24/24 05:18 AM - Last Modified 10/23/25 20:20 PM


Symptom


  • When you configure pre-logon, GlobalProtect cannot connect.
  • If you try to log in Windows soon after rebooting the device, the issue is observed.
  • If you wait log in for a few seconds, the issue is not observed.
  • In PanGPS.log, you will observe the following error.
    (P6908-T9220)Debug(10505): 10/21/24 11:33:28:140 ----Portal Login starts----
    (P6908-T9220)Debug(10509): 10/21/24 11:33:28:140 m_szSavedUserName is
    (P6908-T9220)Debug( 546): 10/21/24 11:33:28:140 No need to decrypt data with length 0
    (P6908-T9220)Debug(9322): 10/21/24 11:33:28:140 Empty user for GetCachedPortalCfgOldNewFileName
    (P6908-T9220)Debug(10569): 10/21/24 11:33:28:140 "___empty_username___" and empty cc user name and empty portal user auth cookie.
    (P6908-T9220)Debug(10572): 10/21/24 11:33:28:140 Set skip next switch off flag.
    (P6908-T9220)Dump (2556): 10/21/24 11:33:28:140 close WinHttp close handle.
    (P6908-T9220)Debug(9659): 10/21/24 11:33:28:140 portal status is User authentication failed.
    (P6908-T9220)Dump (9675): 10/21/24 11:33:28:140 returns 0.
    (P6908-T9220)Info (8845): 10/21/24 11:33:28:140 GetConfigFromPortal failed, restore previous prelogon username. m_preUsername pre-logon
    (P6908-T9220)Debug(8085): 10/21/24 11:33:28:140 --Set state to Disconnected


Environment


  • Global Protect client for Windows.


Cause


The user pre-logon becomes an invalid user after the user logs into Windows. For failed patterns, the user logs in Windows before starting pre-logon. You can check this in PanGPS.log below.

(P6908-T6912)Info (1627): 10/21/24 11:33:19:166 User xxxxx\xxxxx logs in on session 1
...
(P6908-T9224)Debug(8147): 10/21/24 11:33:19:239 ----Portal Pre-login starts----


Resolution


Please avoid logging in Windows right after reboot. If the user log in Windows after pre-logon finishes, the issue will not occur.

(P6852-T9356)Debug(8147): 10/21/24 11:39:34:769 ----Portal Pre-login starts----
(P6852-T9368)Debug(3672): 10/21/24 11:39:37:188 ----Gateway Pre-login starts----
...
(P6852-T6856)Info (1627): 10/21/24 11:40:35:934 User xxxxx\xxxxx logs in on session 1

 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000HEL4CAO&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language