jira-importer opened a new issue, #1453:
URL: https://github.com/apache/httpcomponents-core/issues/1453

   **[Venkata Satya Teja 
Siram](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=teja.siram)**
 opened 
**[HTTPCORE-421](https://issues.apache.org/jira/browse/HTTPCORE-421?redirect=false)**
 and commented
   
   Hi Team,
   We have an application in which we are making an asynchronous request to get 
the response.For making asynchronous Request we are using apache nio
   
   Reference link followed:
   https://hc.apache.org/httpcomponents-core-ga/tutorial/html/nio.html
   
   While using this we are facing an issue.The issue is also not always 
simulatable.I was not able to figure out the root* cause.
   
   The issue details are as follows:
   java.net.ConnectException: null
   at 
org.apache.http.nio.pool.RouteSpecificPool.timeout(RouteSpecificPool.java:170) 
[httpcore-nio-4.4.4.jar:4.4.4]
   at 
org.apache.http.nio.pool.AbstractNIOConnPool.requestTimeout(AbstractNIOConnPool.java:560)
 [httpcore-nio-4.4.4.jar:4.4.4]
   at 
org.apache.http.nio.pool.AbstractNIOConnPool$InternalSessionRequestCallback.timeout(AbstractNIOConnPool.java:821)
 [httpcore-nio-4.4.4.jar:4.4.4]
   at 
org.apache.http.impl.nio.reactor.SessionRequestImpl.timeout(SessionRequestImpl.java:182)
 [httpcore-nio-4.4.4.jar:4.4.4]
   at org.apache.http.
   
   Version being used:
   
   \<dependency>
                        \<groupId>org.apache.httpcomponents\</groupId>
                        \<artifactId>httpclient\</artifactId>
                        \<version>4.5.1\</version>
                \</dependency>
   
       <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpcore-nio</artifactId>
            <version>4.4.4</version>
       </dependency>
   
   Initially i thought issue was with pool and increased pool size(NIO Pool) 
while load testing. But some times it occurs if a send single request only 
,although pool size is 1000 ,the issue is occurring.
   
   Is this issue has something related to cpu core size, on 4 core processor 
its happening very less and on single core processor it occurs very frequency
   is more..For NIO reactor , we have given the default config.As the 
documentation specifies the number of dispatcher threads would be dependent on 
number of cores on the system.
   
   Any help regarding this issue?
   
   
   ---
   No further details from 
[HTTPCORE-421](https://issues.apache.org/jira/browse/HTTPCORE-421?redirect=false)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to