[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-2049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17029748#comment-17029748
 ] 

Dinesh Kumar commented on HTTPCLIENT-2049:
------------------------------------------

[~olegk] I understand that this is usually because of the remote server closing 
the connection. 

But the problem here is we are communicating with three different provider 
service and against all of them we are getting similar error on an irregular 
interval and the transactions are incomplete.

Here we are hosting zuul gateway service in cloud environment to route the 
inbound and outbound calls. We have done an analysis in the zuul application 
code and checked the same with Pivotal team and they don't see it as a problem 
with zuul.

And this is happening for a long time, so we are not sure whether this is a bug 
or is there something which can be done to reduce these kind of errors.  It 
would be really helpful if you can advise on this ?

 

> Apache http client resets connection unexpected
> -----------------------------------------------
>
>                 Key: HTTPCLIENT-2049
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2049
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>            Reporter: Dinesh Kumar
>            Priority: Minor
>
> We are using zuul gateway application which by default is using Apache http 
> client 4.5.6 version. With this often we are facing connection reset issue 
> for few of the transaction.  
> And we are not sure why the httpclient is resetting the connection 
> unexpectedly.
> We are facing below error in all of our environment,
> 2020-02-03 16:54:20,904 [http-nio-8080-exec-1] DEBUG org.apache.http.wire [] 
> http-outgoing-6 << "[read] I/O error: Connection reset"
>  2020-02-03 16:54:20,904 [http-nio-8080-exec-1] DEBUG 
> org.apache.http.impl.conn.DefaultManagedHttpClientConnection [] 
> http-outgoing-6: Close connection
>  2020-02-03 16:54:20,904 [http-nio-8080-exec-1] DEBUG 
> org.apache.http.impl.conn.DefaultManagedHttpClientConnection [] 
> http-outgoing-6: Shutdown connection
>  2020-02-03 16:54:20,904 [http-nio-8080-exec-1] DEBUG 
> org.apache.http.impl.execchain.MainClientExec [] Connection discarded
>  2020-02-03 16:54:20,904 [http-nio-8080-exec-1] DEBUG 
> org.apache.http.impl.conn.PoolingHttpClientConnectionManager [] Connection 
> released: [id: 6][route: \{s}
> [][total|https://ba.preproduction.vayant.com:9081][total/] kept alive: 0; 
> route allocated: 0 of 2000; total allocated: 1 of 2000]
> Can you please advise on this issue ?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to