Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 028EC18E49 for ; Thu, 31 Dec 2015 12:38:50 +0000 (UTC) Received: (qmail 14715 invoked by uid 500); 31 Dec 2015 12:38:49 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 14669 invoked by uid 500); 31 Dec 2015 12:38:49 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 14658 invoked by uid 99); 31 Dec 2015 12:38:49 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Dec 2015 12:38:49 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A1DA82C14F9 for ; Thu, 31 Dec 2015 12:38:49 +0000 (UTC) Date: Thu, 31 Dec 2015 12:38:49 +0000 (UTC) From: "Oleg Kalnichevski (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HTTPASYNC-98) http request throw SocketTimeoutException in 1 ms MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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