HIP check failures cause GlobalProtect tunnel to disconnect after 3 hours

Symptom

GlobalProtect users get disconnected after 3 hours though they are actively working from their workstations.

Environment

Cause

Resolution

  1. You can whitelist the gateway URL by creating a custom URL category and adding the URL to it. This category should be set to either allow or alert action on the URL filtering profile.
  2. Add following URL's to allow the traffic:
    • gateway-IP/ssl-vpn/hipreport.esp
    • gateway-IP/ssl-vpn/hipreportcheck.esp
  3. This will ensure that HIP checks, which occur every hour, will reset the GlobalProtect user mapping to 3 hours once gateway receives it and firewall gets the updated HIP report as well (if any changes are present against the old HIP report).
Snapshot of Custom URL category dialog box
Snapshot of the URL Filtering Profile dialog box

Additional Information

Snapshot of User-ID log
Snapshots of the Security Policy GUI
Snapshot of URL Filtering GUI
User-added image
Snapshot of Detailed Log View Dialog Box
P 866-T12663 Jan 28 12:38:19:653061 Debug(5028): using https to send hip report check to gateway x.x.x.x
P 866-T12663 Jan 28 12:38:19:653067 Debug(5070): Network discover SN 92 remains same.
P 866-T12663 Jan 28 12:38:19:653153 Debug( 779): SSL connecting to x.x.x.x
P 866-T12663 Jan 28 12:38:19:746013 Debug(4407): SSL verify succeed
P 866-T12663 Jan 28 12:38:19:834616 Error(4698): HTTP 200 OK not received: HTTP/1.1 503 Service Unavailable <<<<<<
Content-Type: text/html; charset=UTF-8
Content-Length: 978
Connection: close
P3P: CP="CAO PSA OUR"
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache

<html>
<head>
<title>Web Page Blocked</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<meta name="viewport" content="initial-scale=1.0">
<style>
#content {
border:3px solid#aaa;
background-color:#fff;
margin:1.5em;
padding:1.5em;
font-family:Tahoma,Helvetica,Arial,sans-serif;
font-size:1em;
}
h1 {
font-size:1.3em;
font-weight:bold;
color:#196390;
}
b {
font-weight:normal;
color:#196390;
}
</style>
</head>
<body bgcolor="#e7e8e9">
<div id="content">
<h1>Web Page Blocked</h1>
<<<<<<<<
<p>Access to the web page you were trying to visit has been blocked in accordance with company policy. Please contact your system administrator if you believe this is in error.</p>
<p><b>User:</b> x.x.x.x </p>
<p><b>URL:</b> x.x.x.x/ssl-vpn/hipreportcheck.esp </p>
<<<<<<<<<<
<p><b>Category:</b> unknown </p>
<<<<<<<
</div>
</body>
</html>
P 866-T12663 Jan 28 12:38:19:834710 Debug(1322): OpenSSL alert write:warning:close notify
P 866-T12663 Jan 28 12:38:19:834948 Info (5073): SendNReceive() failed.
P 866-T12663 Jan 28 12:38:19:834964 Debug(4875): Send hip report check failed <<<<<<<<