[ 
https://issues.apache.org/jira/browse/HTTPASYNC-98?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oleg Kalnichevski updated HTTPASYNC-98:
---------------------------------------
    Priority: Minor  (was: Critical)

> 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: Minor
>         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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to