Get java.net.SocketException: Socket is closed on an HTTP call.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-29-2021 01:18 AM
Sometimes happen to get this error calling a third-party API.
It seems to not be related to any changes. Any idea how to solve?
0 Request not sent to uri= https://xxx/api/open/query/do?query=nodes%7Ccount : java.net.SocketException: Socket is closed
Thanks
- Labels:
-
Scoped App Development
- 3,725 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-04-2022 07:41 AM
Hello ,
I am not sure if this issue has been resolved, but mid server is in the expected network and if we hit URL in the browser with needed VPN enabled , response is being obtained. However, if we use the same MidServer installed in that VPN n/w and connect to the third party API through the midserver , response is not being obtained and
java.net.SocketException: Socket is closed
is the error that am receiving in the Test run when tested, ports 443 and 80 are also open. Is there anything that should be looked into to overcome this issue.
Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2022 10:43 PM
Hi
I Facing same issue any update on this about how it get resolved?
Regards
Shiksha jain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2023 09:37 AM
We are facing the same issue. Please provide update on how to resolve this issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-17-2023 02:42 AM
Hello Team,
I have the same problem, and I'm not using a MID server. There are no restrictions blocking anything, and I've allowed all IP traffic to my AWS EC2 instance.
I can successfully use the API with Python and Postman, but I encounter issues when trying to connect from ServiceNow.