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

Francis De Brabandere commented on HTTPCLIENT-1880:
---------------------------------------------------

In my case this helped
requestConfigBuilder.setConnectionRequestTimeout(5000)

> Give more info in TimeoutException description
> ----------------------------------------------
>
>                 Key: HTTPCLIENT-1880
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1880
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>    Affects Versions: 4.5.3
>            Reporter: Francis De Brabandere
>            Priority: Minor
>
> We are getting a TimeoutException without message, this gives the user no 
> clue on:
> * what the actual timeout value was
> * what is timing out
> * what settings to tweak to fix this.
> {noformat}
> java.util.concurrent.TimeoutException: null (AbstractNIOConnPool.java:364)
> org.apache.http.nio.pool.AbstractNIOConnPool.processPendingRequest(AbstractNIOConnPool.java:364)
> org.apache.http.nio.pool.AbstractNIOConnPool.processNextPendingRequest(AbstractNIOConnPool.java:344)
> org.apache.http.nio.pool.AbstractNIOConnPool.release(AbstractNIOConnPool.java:318)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to