Connection error 10022

Showing results for 
Show  only  | Search instead for 
Did you mean: 
Please sign in to see details of an important advisory in our Customer Advisories area.

Connection error 10022

Have yet to see an answer to the 10022 error message. Here is my log. Can anyone help. I have contacted support staff at UW Madison and they sent something to paloalto. I thought I might get a quick response from this group. I may be working from home soon.



(T8800) 03/14/20 22:19:52:716 Info ( 246): InitWinConnection ...
(T8800) 03/14/20 22:19:52:716 Error( 250): Cannot connect to service, error: 10022
(T8800) 03/14/20 22:19:52:716 Debug( 542): CPanCommand::Send - not connected, and reintialized connection to service.
(T8800) 03/14/20 22:19:52:716 Debug( 569): Send command to Pan Service
(T8800) 03/14/20 22:19:52:716 Debug( 583): Command = <request><type>portal</type><portal></portal><pid>1312</pid><path>C:\Users\Rick\AppData\Local\Palo Alto Networks\GlobalProtect\</path><cert-name>pan-none-cert-selected</cert-name><reconnect-gateway-only>no</reconnect-gateway-only><checkupdate>no</checkupdate><allow-cached-portal>yes</allow-cached-portal><remember-me>yes</remember-me><retrieve-cache-only>no</retrieve-cache-only><manual-select-gateway-ip></manual-select-gateway-ip><portal-certificate-verification>yes</portal-certificate-verification><win-user>Rick</win-user><user-profile-type>0</user-profile-type><preferred-gateway></preferred-gateway><preferred-gateway-address></preferred-gateway-address><proxy-auto-detect>1</proxy-auto-detect><proxy-config-url></proxy-config-url><proxy></proxy><proxy-bypass></proxy-bypass><saved-user></saved-user><saved-passwd></saved-passwd><portal-2fa>no</portal-2fa><use-ssl-tunnel>no</use-ssl-tunnel><pre-logon-then-on-demand>no</pre-logon-then-on-demand><domain>LAPTOP-DHCNDAS7</domain></request>
(T8800) 03/14/20 22:19:52:716 Error( 631): Send failed with error: 0


L7 Applicator

I researched this, and discovered the following..


Global Protect not able to reach the portal and keeps connecting.

Logs from PANGP shows:

(T8796) 30/08/19 05:49:46:934 Error( 366): Cannot connect to service, error: 10022
(T8796) 30/08/19 05:49:51:934 Info ( 362): InitConnection ...
(T8796) 30/08/19 05:49:51:934 Error( 366): Cannot connect to service, error: 10022
(T8796) 30/08/19 05:49:56:934 Info ( 362): InitConnection ...
(T8796) 30/08/19 05:49:56:934 Error( 366): Cannot connect to service, error: 10022
(T8796) 30/08/19 05:49:57:934 Debug( 229): CPanSocket::onConnect - return error code = 10060.

Cau se
This error means that the GP client can not communicate to the PanGPS process or the Pan agent is not able to start the PanGPS service in  the client machine itself.
Make sure that the PanGPS is started and running in Task Manager --> Services
if needed you can reinstall the Agent which will confirm that the process is started automatically.

PanGPS service should be listening on localhost port 4767.  To check run the command on windows PC:

Netstat -an | find "4767"

the output should be as below for example:
  TCP                   LISTENING


I also found this public article that states similar information:


I hope this helps a little.. 

LIVEcommunity team member
Stay Secure,
Don't forget to Like items if a post is helpful to you!
  • 1 replies
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!