# I/O exception (java.net.SocketException) .....https://dev-XXXXX.okta.com:443: Connection reset

**URL:** <https://devforum.okta.com/t/i-o-exception-java-net-socketexception-https-dev-xxxxx-okta-com-connection-reset/19074>\
**Category:** Questions\
**Created:** [January 26, 2022, 9:04pm UTC](https://devforum.okta.com/t/i-o-exception-java-net-socketexception-https-dev-xxxxx-okta-com-connection-reset/19074 "2022-01-26T21:04:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Poonam](https://avatars.discourse-cdn.com/v4/letter/p/b38774/32.png) [@Poonam](https://devforum.okta.com/u/Poonam)\
**Post date:** [January 26, 2022, 9:04pm UTC](https://devforum.okta.com/t/i-o-exception-java-net-socketexception-https-dev-xxxxx-okta-com-connection-reset/19074/1 "2022-01-26T21:04:39Z")

</div>

Hi,  
I am new to integrating Okta with Spring boot. I am trying to implement exactly the Spring Okta Integration as documented on [https://www.baeldung.com/spring-security-okta](https://www.baeldung.com/spring-security-okta).

When I invoke my rest api [http://localhost:8080/users](http://localhost:8080/users), I get error  
2022-01-26 15:42:10.202 INFO 25208 — [nio-8080-exec-4] o.apache.http.impl.execchain.RetryExec : I/O exception (java.net.SocketException) caught when processing request to {s}-\>[https://dev-XXXXX.okta.com:443](https://dev-XXXXX.okta.com:443): Connection reset  
2022-01-26 15:42:10.202 INFO 25208 — [nio-8080-exec-4] o.apache.http.impl.execchain.RetryExec : Retrying request to {s}-\>[https://dev-XXXXX.okta.com:443](https://dev-XXXXX.okta.com:443)

If there was a firewall issue, I would not be able to execute different type of postman okta sample collection to my dev tenant correct? What am I missing?

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [February 12, 2024, 6:10pm UTC](https://devforum.okta.com/t/i-o-exception-java-net-socketexception-https-dev-xxxxx-okta-com-connection-reset/19074/2 "2024-02-12T18:10:36Z")

</div>

Closed on February 12, 2024, 6:10pm UTC


