shikhi shekhar created HTTPCLIENT-1814:
------------------------------------------

             Summary: NoHttpResponseException occuring randomly
                 Key: HTTPCLIENT-1814
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1814
             Project: HttpComponents HttpClient
          Issue Type: Test
         Environment: Unix
            Reporter: shikhi shekhar
            Priority: Minor
         Attachments: CustomHttpRequestRetryHandler.txt, 
TestHttpConnectionManager.txt

Situation - I was previously using commons-httpclient 3.1 version and wanted to 
upgrade to httpclient 4.5.2 couple of months back.

Action - I configured the httpClient (Config file is attached) my application.

Problem - I am randomly getting NoHttpResponseException and its hard to 
replicate in local environment / debug mode.

Below is how errors look like

org.springframework.web.client.ResourceAccessException: I/O error on POST 
request for 
"https://test.example.com/test-services/serviceOneTest":test.example.com:443 
failed to respond; nested exception is org.apache.http.NoHttpResponseException: 
test.example.com:443 failed to respond

Steps to resolve the issue based on online research and what other developers 
have faced previously were I included setting of retry count and 
validateAfterInactivity in configuration java class. It reduced the number of 
exceptions but till 0.15% (actual requests 200,000) of requests fails with this 
error.


Questions.

1. Is there any thing obvious I am missing in configuration of httpclient.
2. Or What would be a good way to replicate the problem in local. So that I can 
provide you with more data.
3. Can you guide us to right direction. 

Let me know if you need any further details. Would be happy to provide you

Thanks 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to