java.net.SocketException: Connection reset, HTTP Error Code: 0

Hi All,

I have setup a web service connector with custom authentication.

I am getting below error during test connection:

Error Received:

Exception occurred in Test Connection.Url: https://sailpoint-api.services.iabc.com/employee, Message: 0 : java.net.SocketException: Connection reset, HTTP Error Code: 0

I have attached before and after operation rule on Custom authentication operation and could see the token is getting generated and I am setting the access token properly.

Then using that access token in Test Connection operation and it fails with the error.

Postman it is working fine, and I am sure there are not network or firewall issue because same endpoint is being used in one of the custom connector cloud connector.

Rebooted the VA but still same error.

Please share some insights.

Regards,
Shekhar Das

Hi @shekhardas1825 , were you able to check the logs on VA by setting debug level logging? I suspect this is related to network issue as we are using VA. Also, try checking the connectivity directly from VA and see if you are receiving response from the target

Hi @shekhardas1825 … As per the error Since you confirmed that the token generation logic is working, Postman works fine, and network routing exists via a separate cloud connector, the issue is down to environmental differences between how the Virtual Appliance (VA) Java runtime initiates the request versus how Postman does it
If the target API (sailpoint-api.services.iabc.com) uses a private or internal enterprise SSL/TLS certificate then you can try to fix this by
Obtaining the full root/intermediate SSL certificate chain for your API endpoint and upload it to your Virtual Appliance’s certificate directory (/home/sailpoint/certificates) to let the VA trust the endpoint natively.
Check if this works for your issue.
Thanks
Deepak