Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-2049

Apache http client resets connection unexpected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Bug
    • None
    • None
    • None
    • None

    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[total/] kept alive: 0; route allocated: 0 of 2000; total allocated: 1 of 2000]

      Can you please advise on this issue ?

      Attachments

        Activity

          People

            Unassigned Unassigned
            dinesh.sv90 Dinesh Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: