GlobalProtect Pre-Logon Fails with WinHttpReceiveResponse Error 12152

Question

Hello everyone,

I'm hoping to get some guidance on a GlobalProtect pre-logon issue that I've been unable to resolve.

Issue: GlobalProtect is unable to connect during the pre-logon phase. The connection does not progress beyond communication with the portal.

What has been verified:

  • All required machine certificates are installed on the endpoint.
  • Certificates are located in the correct certificate stores.
  • Reviewed GlobalProtect logs.
  • Reviewed TSF data.
  • Reviewed firewall packet captures.

CPanHTTPSession::PostRequest: WinHttpReceiveResponse failed with error code 12152

The server returned an invalid or unrecognized response.

prelogin to portal result is (null)

Failed to pre-login to the portal with return value 12152

Based on packet captures and log analysis, the failure appears to occur during communication between the GlobalProtect client and the portal, but I have not yet identified the root cause.

Has anyone experienced a similar issue with WinHttpReceiveResponse error 12152 during pre-logon authentication? Any insight into potential causes or additional troubleshooting steps would be greatly appreciated.

Any guidance or similar experiences would be greatly appreciated.

Thank you

Posted Jul 30, 2026, 2:02 PM UTC

00
Loading comments…