You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Dinesh Kumar (Jira)" <ji...@apache.org> on 2020/02/04 10:28:00 UTC

[jira] [Updated] (HTTPCLIENT-2049) Apache http client resets connection unexpected

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-2049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dinesh Kumar updated HTTPCLIENT-2049:
-------------------------------------
    Description: 
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 ?

  was:
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}
->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 ?


> 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org