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

**URL:** <https://developer.sailpoint.com/discuss/t/message-java-net-socketexception-connection-reset-http-error-code-0/678>\
**Category:** IIQ Discussion and Questions\
**Created:** [June 8, 2021, 8:45pm UTC](https://developer.sailpoint.com/discuss/t/message-java-net-socketexception-connection-reset-http-error-code-0/678 "2021-06-08T20:45:03Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![ampandey](https://avatars.discourse-cdn.com/v4/letter/a/ce73a5/32.png) [@ampandey](https://developer.sailpoint.com/discuss/u/ampandey)\
**Post date:** [June 8, 2021, 8:45pm UTC](https://developer.sailpoint.com/discuss/t/message-java-net-socketexception-connection-reset-http-error-code-0/678/1 "2021-06-08T20:45:03Z")

</div>

We onboarded a web services application to IIQ and though all the required credentials are fine. It gives the following error.

_ **Exception occurred in Test Connection.Url: https://, Message: java.net.SocketException: Connection reset, HTTP Error Code: 0** _

Tested and the connectivity works fine when tried through POSTMAN on the application host

Application certificate is also installed on our application host.

Tried adding additional logger as below but doesn’t help much but giving web connector detailed logs.

**Option 1:**

**logger.sslfactory.name=org.apache.http.conn.ssl.SSLConnectionSocketFactory**  
**logger.sslfactory.level=debug**

**Option 2:**

**log4j.logger.sailpoint.rest=trace**  
**log4j.logger.sailpoint.service.IIQRestService=info**

---

<div class="post-metadata">

**Author:** ![colin\_mckibben](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/colin_mckibben/32/37182_2.png) [@colin\_mckibben](https://developer.sailpoint.com/discuss/u/colin_mckibben)\
**Post date:** [June 8, 2021, 9:02pm UTC](https://developer.sailpoint.com/discuss/t/message-java-net-socketexception-connection-reset-http-error-code-0/678/2 "2021-06-08T21:02:09Z")

</div>

Hey @ampandey, thanks for posting your first question. Let us do some investigating, and we will hopefully be able to come back with some insights for you shortly.

---

<div class="post-metadata">

**Author:** ![elizabeth\_bellarts](https://avatars.discourse-cdn.com/v4/letter/e/94ad74/32.png) [@elizabeth\_bellarts](https://developer.sailpoint.com/discuss/u/elizabeth_bellarts)\
**Post date:** [June 9, 2021, 2:42am UTC](https://developer.sailpoint.com/discuss/t/message-java-net-socketexception-connection-reset-http-error-code-0/678/3 "2021-06-09T02:42:42Z")

</div>

Hi @ampandey,

What version of IIQ are you running?

If 8.x, you can try the following loggers in your log4j2.properties file.

logger.webconn.name=openconnector.connector.webservices.WebServicesConnector  
logger.webconn.level=trace

logger.rest.name=sailpoint.rest  
logger.rest.level=trace

logger.IIQRestService.name=sailpoint.service.IIQRestService  
logger.IIQRestService.level=info

For IIQ 7.x add these loggers to your log4j.properties and reload logging for them to take effect.  
log4j.logger.sailpoint.rest=trace  
log4j.logger.sailpoint.service.IIQRestService=info  
log4j.logger.openconnector.connector.webservices.WebServicesConnector=all

Also, if you do a test from iiq console, we may get additional information as to why it is failing:  
./iiq console

> connectorDebug “applicationName” test

Cheers,

---

<div class="post-metadata">

**Author:** ![sanskriti\_sanghvi](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@sanskriti\_sanghvi](https://developer.sailpoint.com/discuss/u/sanskriti_sanghvi)\
**Post date:** [June 15, 2021, 2:35pm UTC](https://developer.sailpoint.com/discuss/t/message-java-net-socketexception-connection-reset-http-error-code-0/678/4 "2021-06-15T14:35:58Z")

</div>

@ampandey : Are you still facing this issue ? if this is still an issue can you please confirm the TLS version used at end application is same as in SailPoint /IIQ.

---

<div class="post-metadata">

**Author:** ![colin\_mckibben](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/colin_mckibben/32/37182_2.png) [@colin\_mckibben](https://developer.sailpoint.com/discuss/u/colin_mckibben)\
**Post date:** [June 24, 2021, 8:55pm UTC](https://developer.sailpoint.com/discuss/t/message-java-net-socketexception-connection-reset-http-error-code-0/678/5 "2021-06-24T20:55:11Z")

</div>

@ampandey were you able to resolve this issue? Is there any further guidance we can offer for you?

---

<div class="post-metadata">

**Author:** ![ampandey](https://avatars.discourse-cdn.com/v4/letter/a/ce73a5/32.png) [@ampandey](https://developer.sailpoint.com/discuss/u/ampandey)\
**Post date:** [June 25, 2021, 6:18am UTC](https://developer.sailpoint.com/discuss/t/message-java-net-socketexception-connection-reset-http-error-code-0/678/6 "2021-06-25T06:18:06Z")

</div>

How should I check the TLS version on SailPoint End?

---

<div class="post-metadata">

**Author:** ![ampandey](https://avatars.discourse-cdn.com/v4/letter/a/ce73a5/32.png) [@ampandey](https://developer.sailpoint.com/discuss/u/ampandey)\
**Post date:** [June 25, 2021, 6:19am UTC](https://developer.sailpoint.com/discuss/t/message-java-net-socketexception-connection-reset-http-error-code-0/678/7 "2021-06-25T06:19:24Z")

</div>

This is still not resolved

---

<div class="post-metadata">

**Author:** ![anon87158948](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@anon87158948](https://developer.sailpoint.com/discuss/u/anon87158948)\
**Post date:** [June 25, 2021, 6:49pm UTC](https://developer.sailpoint.com/discuss/t/message-java-net-socketexception-connection-reset-http-error-code-0/678/8 "2021-06-25T18:49:05Z")

</div>

By default IQService enforces TLS version 1.2 with Java version 1.8 on IdentityIQ / Cloud Gateway.

Source: [https://community.sailpoint.com/t5/IdentityIQ-Connectors/IQService-TLS-and-Client-Authentication-Configuration/ta-p/75273#toc-hId--1360100717](https://community.sailpoint.com/t5/IdentityIQ-Connectors/IQService-TLS-and-Client-Authentication-Configuration/ta-p/75273#toc-hId--1360100717)

Hope, this is helpful.

---

<div class="post-metadata">

**Author:** ![colin\_mckibben](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/colin_mckibben/32/37182_2.png) [@colin\_mckibben](https://developer.sailpoint.com/discuss/u/colin_mckibben)\
**Post date:** [June 28, 2021, 5:56pm UTC](https://developer.sailpoint.com/discuss/t/message-java-net-socketexception-connection-reset-http-error-code-0/678/9 "2021-06-28T17:56:43Z")

</div>

Hey @ampandey

I wanted to check in and see if you were able to make any progress on this project. Please let us know and if we can be of any further assistance to you.

---

<div class="post-metadata">

**Author:** ![colin\_mckibben](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/colin_mckibben/32/37182_2.png) [@colin\_mckibben](https://developer.sailpoint.com/discuss/u/colin_mckibben)\
**Post date:** [July 9, 2021, 7:39pm UTC](https://developer.sailpoint.com/discuss/t/message-java-net-socketexception-connection-reset-http-error-code-0/678/10 "2021-07-09T19:39:47Z")

</div>

Hey @ampandey,

I am marking this thread as resolved. Please let us know if we can be of any further assistance to you.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [July 19, 2023, 2:25pm UTC](https://developer.sailpoint.com/discuss/t/message-java-net-socketexception-connection-reset-http-error-code-0/678/11 "2023-07-19T14:25:08Z")

</div>


