-
-
Save hispanic/c6ddbdc0498fb5794d6f to your computer and use it in GitHub Desktop.
| http-outgoing-58: Shutdown connection | |
| Connection discarded | |
| http-outgoing-58: Close connection | |
| Connection released: [id: 58][route: {}->http://myhost:8080[total kept alive: 6; route allocated: 4 of 50; total allocated: 6 of 100] |
Hi,
I got the similer issue.
15:36:38.955 [main] DEBUG org.apache.http.impl.conn.DefaultManagedHttpClientConnection - http-outgoing-1: Shutdown connection
15:36:38.955 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Connection discarded
15:36:38.956 [main] DEBUG org.apache.http.impl.conn.DefaultManagedHttpClientConnection - http-outgoing-1: Close connection
15:36:38.956 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection released: [id: 1][route: {}->http://172.17.0.1:7272][total kept alive: 0; route allocated: 0 of 2; total allocated: 0 of 20]
Hi Vishal,
I am also facing the same problem. Any lead ?
Hi I am facing the same issue, Do we have an update on this ?
Hello
We are facing similar issue.
Httpclient version 4.5.13
first call goes to squid proxy cache (enabled with basic auth).
It replies with X-Squid-Error: ERR_CACHE_ACCESS_DENIED
When proxy challenge is sent to squid it fails with below statements
|myproxyhost:80 requested authentication
org.apache.http.impl.client.ProxyAuthenticationStrategy:select|175|Authentication schemes in the order of preference: [Negotiate, Kerberos, NTLM, CredSSP, Digest, Basic]
org.apache.http.impl.client.ProxyAuthenticationStrategy:select|203|Challenge for Negotiate authentication scheme not available
org.apache.http.impl.client.ProxyAuthenticationStrategy:select|203|Challenge for Kerberos authentication scheme not available
org.apache.http.impl.client.ProxyAuthenticationStrategy:select|203|Challenge for NTLM authentication scheme not available
org.apache.http.impl.client.ProxyAuthenticationStrategy:select|203|Challenge for CredSSP authentication scheme not available
org.apache.http.impl.client.ProxyAuthenticationStrategy:select|203|Challenge for Digest authentication scheme not available
|org.apache.http.impl.conn.DefaultManagedHttpClientConnection:close|79|http-outgoing-1: Close connection
org.apache.http.impl.execchain.MainClientExec:execute|239|CONNECT refused by proxy: HTTP/1.1 407 Proxy Authentication Required
org.apache.http.impl.execchain.MainClientExec:releaseConnection|104|Connection discarded
org.apache.http.impl.conn.PoolingHttpClientConnectionManager:releaseConnection|351|Connection released: [id: 1][route: {tls}->http://myproxyhost:80->https://myserverurl:443][total available: 0; route allocated: 0 of 2; total allocated: 0 of 20]
Connections will periodically be shut-down and discarded from the pool by HttpClient. This will decrement the allocation counts. In general, this behavior is normal and should be expected. However, if you see this happening on a continual basis for the majority of your requests, it might be because you are closing your connections improperly, thereby negating the benefits of the connection pooling.
For more information, please see How to Read HttpClient Logging and Prevent Connection Leaks.