<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Odd Internal Host Behavior in GlobalProtect Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/globalprotect-discussions/odd-internal-host-behavior/m-p/502598#M2851</link>
    <description>&lt;P&gt;Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First off, I'm looking for ideas on what could possibly be causing a situation we are experiencing.&amp;nbsp; This is an issue with Always On Mode, using SAML authentication (built in browser, no default browser), in an Internal Host Detection state.&amp;nbsp; We are not having any issues with a remote user at all, only when the user moves from remote to an office.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Global Protect works well normally for internal host detection (no internal gateways).&amp;nbsp; We have a full FQDN DNS recursive lookup configured that works well.&amp;nbsp; However on occasion we will experience a user (usually 1-3 per week) that come into the office (after working on Always on VPN for several days) and can not connect to our internal network.&amp;nbsp; GP gives a connection error and because of traffic policy enforcement they can not connect to anything.&amp;nbsp; 3 things are occurring at the point.&amp;nbsp; 1. Client CAN nslookup the FQDN used for internal host detection, again this works from a command prompt, 2) Client can not communicate on the network, 3) Global Protect does not attempt internal host detection again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The fix has been to move the client to a public guest network, restart the PAN GPS service and connect the user to the Portal/Gateway.&amp;nbsp; Once this is done, we switch the user back to the production internal network, internal host detection is working again.&amp;nbsp; Note: simply rebooting the laptop does not fix it, restarting PAN GPS service alone does not fix it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have clients running 5.2.9 and 5.2.12 that are experiencing this issue (Yes I have a ticket open, but not seeing much progress).&amp;nbsp; We were asked to set the user saving option in our portal config from "Save Username Only" to "No".&amp;nbsp; After doing this, almost every client in this test group began experiencing this issue, and several now experience the issue on every reboot or refresh connection.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking through pangps.log we see a few errors, which ends up in turning on the enforcer, without a network discovery:&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;(P17196-T12160)Error( 480): 06/09/22 14:46:41:944 CPanHTTPSession::PostRequest: WinHttpReceiveResponse failed with error code 12152.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;(P17196-T12160)Debug(1182): 06/09/22 14:46:41:944 PostRequest error code=12152(The server returned an invalid or unrecognized response)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;(P17196-T12160)Debug(7301): 06/09/22 14:46:41:944 prelogin to portal result is&amp;nbsp;&lt;/FONT&gt;&lt;FONT size="2"&gt;(null)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;(P17196-T12160)Debug(7603): 06/09/22 14:46:41:944 Failed to pre-login to the portal vpn.mycorp.com with return value 12152(The server returned an invalid or unrecognized response).&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;(P17196-T12160)Debug(8461): 06/09/22 14:46:41:944 Failed to get portal config from portal vpn.mycorp.com.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;(P17196-T12160)Debug(8503): 06/09/22 14:46:41:944 Try to restore last portal config from file.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;(P17196-T12160)Debug(8554): 06/09/22 14:46:41:944 Skip retrieve cached portal configuration for empty user&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;(P17196-T12160)Debug(8481): 06/09/22 14:46:41:944 portal status is Invalid portal.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;(P17196-T12160)Debug(7095): 06/09/22 14:46:41:944 --Set state to Disconnected&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;(P17196-T7972)Debug(2530): 06/09/22 14:46:41:944 Setting debug level to 5&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;(P17196-T12160)Debug(1927): 06/09/22 14:46:41:944 unknown network type.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;(P17196-T12160)Debug(1898): 06/09/22 14:46:41:960 Send response to client for request portal&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;(P17196-T7660)Debug( 845): 06/09/22 14:47:01:278 enforcer exception: call SPSetParameters to set 2 IPs&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jun 2022 12:32:46 GMT</pubDate>
    <dc:creator>JakeHarris</dc:creator>
    <dc:date>2022-06-10T12:32:46Z</dc:date>
    <item>
      <title>Odd Internal Host Behavior</title>
      <link>https://live.paloaltonetworks.com/t5/globalprotect-discussions/odd-internal-host-behavior/m-p/502598#M2851</link>
      <description>&lt;P&gt;Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First off, I'm looking for ideas on what could possibly be causing a situation we are experiencing.&amp;nbsp; This is an issue with Always On Mode, using SAML authentication (built in browser, no default browser), in an Internal Host Detection state.&amp;nbsp; We are not having any issues with a remote user at all, only when the user moves from remote to an office.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Global Protect works well normally for internal host detection (no internal gateways).&amp;nbsp; We have a full FQDN DNS recursive lookup configured that works well.&amp;nbsp; However on occasion we will experience a user (usually 1-3 per week) that come into the office (after working on Always on VPN for several days) and can not connect to our internal network.&amp;nbsp; GP gives a connection error and because of traffic policy enforcement they can not connect to anything.&amp;nbsp; 3 things are occurring at the point.&amp;nbsp; 1. Client CAN nslookup the FQDN used for internal host detection, again this works from a command prompt, 2) Client can not communicate on the network, 3) Global Protect does not attempt internal host detection again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The fix has been to move the client to a public guest network, restart the PAN GPS service and connect the user to the Portal/Gateway.&amp;nbsp; Once this is done, we switch the user back to the production internal network, internal host detection is working again.&amp;nbsp; Note: simply rebooting the laptop does not fix it, restarting PAN GPS service alone does not fix it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have clients running 5.2.9 and 5.2.12 that are experiencing this issue (Yes I have a ticket open, but not seeing much progress).&amp;nbsp; We were asked to set the user saving option in our portal config from "Save Username Only" to "No".&amp;nbsp; After doing this, almost every client in this test group began experiencing this issue, and several now experience the issue on every reboot or refresh connection.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking through pangps.log we see a few errors, which ends up in turning on the enforcer, without a network discovery:&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;(P17196-T12160)Error( 480): 06/09/22 14:46:41:944 CPanHTTPSession::PostRequest: WinHttpReceiveResponse failed with error code 12152.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;(P17196-T12160)Debug(1182): 06/09/22 14:46:41:944 PostRequest error code=12152(The server returned an invalid or unrecognized response)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;(P17196-T12160)Debug(7301): 06/09/22 14:46:41:944 prelogin to portal result is&amp;nbsp;&lt;/FONT&gt;&lt;FONT size="2"&gt;(null)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;(P17196-T12160)Debug(7603): 06/09/22 14:46:41:944 Failed to pre-login to the portal vpn.mycorp.com with return value 12152(The server returned an invalid or unrecognized response).&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;(P17196-T12160)Debug(8461): 06/09/22 14:46:41:944 Failed to get portal config from portal vpn.mycorp.com.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;(P17196-T12160)Debug(8503): 06/09/22 14:46:41:944 Try to restore last portal config from file.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;(P17196-T12160)Debug(8554): 06/09/22 14:46:41:944 Skip retrieve cached portal configuration for empty user&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;(P17196-T12160)Debug(8481): 06/09/22 14:46:41:944 portal status is Invalid portal.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;(P17196-T12160)Debug(7095): 06/09/22 14:46:41:944 --Set state to Disconnected&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;(P17196-T7972)Debug(2530): 06/09/22 14:46:41:944 Setting debug level to 5&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;(P17196-T12160)Debug(1927): 06/09/22 14:46:41:944 unknown network type.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;(P17196-T12160)Debug(1898): 06/09/22 14:46:41:960 Send response to client for request portal&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;(P17196-T7660)Debug( 845): 06/09/22 14:47:01:278 enforcer exception: call SPSetParameters to set 2 IPs&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 12:32:46 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/globalprotect-discussions/odd-internal-host-behavior/m-p/502598#M2851</guid>
      <dc:creator>JakeHarris</dc:creator>
      <dc:date>2022-06-10T12:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Odd Internal Host Behavior</title>
      <link>https://live.paloaltonetworks.com/t5/globalprotect-discussions/odd-internal-host-behavior/m-p/502908#M2856</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On this forum it would be difficult to determine the cause of the Portal connection failure, but I have seen this before when Zscalar was blocking a response. It could really be anything at this stage.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;(P17196-T12160)Debug(1182): 06/09/22 14:46:41:944 PostRequest error code=12152(The server returned an invalid or unrecognized response)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Internal Host Detection is setting which comes from the Portal. If the Portal is inaccessible, as it shows above, then the cached Portal config is used.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you set "Save Username Only" to "No", GlobalProtect will no longer be able to find a cached config, since the name of it includes a hash of the username and relies on saved username to pick it up. That's why you've started to see the issue after disabling it.&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;(P17196-T12160)Debug(8554): 06/09/22 14:46:41:944 Skip retrieve cached portal configuration for empty user&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;I would recommend saving the username to ensure a cached config can be used in case of connectivity issues to the Portal. To cache the config, the user will still need to make one successful connection though.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the WINHTTP error&amp;nbsp;&lt;SPAN&gt;12152, I would start with checking packet captures and seeing if you can rule out any 3rd party intrusive/security software by disabling them temporarily&amp;nbsp;under test conditions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- DM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jun 2022 11:24:25 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/globalprotect-discussions/odd-internal-host-behavior/m-p/502908#M2856</guid>
      <dc:creator>dmifsud</dc:creator>
      <dc:date>2022-06-11T11:24:25Z</dc:date>
    </item>
  </channel>
</rss>

