hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPASYNC-98) http request throw SocketTimeoutException in 1 ms
Date Thu, 31 Dec 2015 12:38:49 GMT

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

Oleg Kalnichevski commented on HTTPASYNC-98:
--------------------------------------------

Please reproduce the issue outside of servlet container using the latest version of HttpAsyncClient.
Otherwise I;ll have to close this issue as invalid.

Oleg

> http request  throw SocketTimeoutException in 1 ms
> --------------------------------------------------
>
>                 Key: HTTPASYNC-98
>                 URL: https://issues.apache.org/jira/browse/HTTPASYNC-98
>             Project: HttpComponents HttpAsyncClient
>          Issue Type: Bug
>    Affects Versions: Future
>         Environment: httpasyncclient-4.0.2.jar 
> httpclient-4.3.2.jar 
> httpcore-4.3.2.jar 
> httpcore-nio-4.3.2.jar
> jdk 1.7.0_75
> tomcat 7
>            Reporter: sunqi
>            Priority: Critical
>         Attachments: TimeOutServlet.java, test.log
>
>
> use servlet demo as TimeOutServlet :
> the ip 1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4 is can't connected,and other ip is work,
> run many times ,we well find log as this :
> 2015-12-31 15:51:23 [ -  ] UserAgent:  ERROR servlet.TimeOutServlet - request is failed:
GET http://10.101.97.141:80/status.taobao HTTP/1.1 time used : 0 ms
> java.net.SocketTimeoutException
> 	at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.timeout(HttpAsyncRequestExecutor.java:285)
> 	at org.apache.http.impl.nio.client.LoggingAsyncRequestExecutor.timeout(LoggingAsyncRequestExecutor.java:120)
> 	at org.apache.http.impl.nio.client.InternalIODispatch.onTimeout(InternalIODispatch.java:84)
> 	at org.apache.http.impl.nio.client.InternalIODispatch.onTimeout(InternalIODispatch.java:37)
> 	at org.apache.http.impl.nio.reactor.AbstractIODispatch.timeout(AbstractIODispatch.java:172)
> 	at org.apache.http.impl.nio.reactor.BaseIOReactor.sessionTimedOut(BaseIOReactor.java:255)
> 	at org.apache.http.impl.nio.reactor.AbstractIOReactor.timeoutCheck(AbstractIOReactor.java:491)
> 	at org.apache.http.impl.nio.reactor.BaseIOReactor.validate(BaseIOReactor.java:205)
> 	at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:281)
> 	atorg.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:105)
> 	at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:584)
> 	at java.lang.Thread.run(Thread.java:745)
> the work ip request is throw SocketTimeoutException in 1ms



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message