Policy Server :: Error : Socket Error 22
search cancel

Policy Server :: Error : Socket Error 22

book

Article ID: 49358

calendar_today

Updated On: 11-30-2023

Products

CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign On SOA Security Manager (SiteMinder) CA Single Sign-On

Issue/Introduction

Description:

What is the meaning of Socket Error 22?

Environment

Release: Applicable to all the supported versions.
Component: SMPLC

Resolution

Socket Error 22 is invalid argument.

The error is coming from the function called getpeername. This function is used to get the socket information from the client that is connecting to the Policy Server and requires it to access the network to get the information. In this case it failed with the error 22.

The reasons that this function can return this error are:

If the socket is not valid.
The call is being blocked and cannot get to the client who opened it.
The client has closed/is closing the socket at the time of the call.