Connection error 10022

Reply
Highlighted

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>uwmadison.vpn.wisc.edu</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

Highlighted
Community Team Member

Re: Connection error 10022

I researched this, and discovered the following..

 

GlobalProtect-Agent-error-Cannot-connect-to-service-error-10022
Symptom
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.
Resolution
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    127.0.0.1:4767          0.0.0.0:0                   LISTENING
  TCP    127.0.0.1:4767         127.0.0.1:49779        ESTABLISHED
  TCP    127.0.0.1:49779        127.0.0.1:4767         ESTABLISHED

 

I also found this public article that states similar information:

https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000Clk6CAC

 

I hope this helps a little.. 

Stay Secure,
Joe
End of line
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 Live Community as a whole!

The Live Community thanks you for your participation!