You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Francis De Brabandere (JIRA)" <ji...@apache.org> on 2017/11/14 12:30:00 UTC

[jira] [Commented] (HTTPCLIENT-1880) Give more info in TimeoutException description

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