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

Dmytro TOLSTYI commented on HTTPCLIENT-1980:
--------------------------------------------

Oh no. Just I wrote my last message I received previous error again...
{code:java}
java.net.SocketTimeoutException: null
at 
org.apache.http.nio.protocol.HttpAsyncRequestExecutor.timeout(HttpAsyncRequestExecutor.java:376)
 ~[httpcore-nio-4.4.6.jar:4.4.6]
at 
org.apache.http.impl.nio.client.InternalRequestExecutor.timeout(InternalRequestExecutor.java:116)
 ~[httpasyncclient-4.1.4.jar:4.1.4]
at 
org.apache.http.impl.nio.client.InternalIODispatch.onTimeout(InternalIODispatch.java:92)
 ~[httpasyncclient-4.1.4.jar:4.1.4]
at 
org.apache.http.impl.nio.client.InternalIODispatch.onTimeout(InternalIODispatch.java:39)
 ~[httpasyncclient-4.1.4.jar:4.1.4]
at 
org.apache.http.impl.nio.reactor.AbstractIODispatch.timeout(AbstractIODispatch.java:175)
 ~[httpcore-nio-4.4.6.jar:4.4.6]
at 
org.apache.http.impl.nio.reactor.BaseIOReactor.sessionTimedOut(BaseIOReactor.java:263)
 ~[httpcore-nio-4.4.6.jar:4.4.6]
at 
org.apache.http.impl.nio.reactor.AbstractIOReactor.timeoutCheck(AbstractIOReactor.java:492)
 ~[httpcore-nio-4.4.6.jar:4.4.6]
at 
org.apache.http.impl.nio.reactor.BaseIOReactor.validate(BaseIOReactor.java:213) 
~[httpcore-nio-4.4.6.jar:4.4.6]
at 
org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:280)
 ~[httpcore-nio-4.4.6.jar:4.4.6]
at 
org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104) 
~[httpcore-nio-4.4.6.jar:4.4.6]
at 
org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:588)
 ~[httpcore-nio-4.4.6.jar:4.4.6]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_201]
{code}
Now I don't understand at which direction I should look:
 * I've changed JDK so it shouldn't be the case
 * Updated http client so now I'm on the latest versions
 * Eliminated proxy so there's no more intermediary issues

Could you advise me what to look for [~olegk]?

> HttpClient continues to use connection that was already closed 
> (SocketTimeoutException)
> ---------------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1980
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1980
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient (async)
>    Affects Versions: 4.5.8
>         Environment: Linux
>            Reporter: Dmytro TOLSTYI
>            Priority: Major
>         Attachments: http.zip, http2.zip
>
>
> I'm using HttpClient for long-run activities (several weeks) and often it 
> happens that the connection gets closed and HttpClient still sends requests 
> using it. As a result I'm receiving `java.net.SocketTimeoutException: null`.
>  
> Is there any possibility to manually reopen closed connection?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to