• Register
0 votes
193 views

Problem :

I am making rest call to IBM Cloud BPM. Some times calls are working fine.But sometimes it is giving following error.
minecraft java.io.ioexception an existing connection was forcibly closed
6 5 3
6,930 points

1 Answer

0 votes

Soluttion :

Usually the connection to an HTTP server is closed after each response. With HTTP "keep-alive" you keep the underlying TCP connection open until certain criteria are met. What those conditions are depends on the server, which is free to close the connection after an arbitrary timeout or number of requests 

When the server closes such a connection the client usually reopens it again, and depending on implementation, may throw an exception or print a warning.

Further Readings:

https://github.com/DarkPacks/SevTech-Ages/issues/2761

9 7 4
38,600 points

Related questions

0 votes
1 answer 53 views
53 views
Problem : I am getting bellow error while generating certificates on my local machine. java.io.ioexception: keystore was tampered with, or password was incorrect
asked Oct 23, 2019 peterlaw 6.9k points
0 votes
2 answers 1K views
1K views
Problem : I am facing following error for the Stack: AngularJS v1.6.5, java 8, spring boot, tomcat. After about around 1 week of work, my application is not responding but giving me such an error. Why is this happening to me? My ... org.springframework.http.converter.ResourceHttpMessageConverter.writeInternal(ResourceHttpMessageConverter.java:200) ~[spring-web-4.3.9.RELEASE.jar:4.3.9.RELEASE] ...
asked Dec 10, 2019 alecxe 7.5k points
0 votes
1 answer 29 views
29 views
Problem : I am very new to JDBC. Now I am trying to connect to the Oracle 11g database using my ojdbc14 jar on the eclipse kepler IDE with the java 8 on my windows 7 PC. But when I try to run the below code I often face the following error. import ... DB"); } } } And the encountered Error is as below : java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
asked Feb 14 mphil 2.3k points
1 vote
2 answers 24 views