hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kireet Reddy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPASYNC-23) request never completes
Date Tue, 28 Aug 2012 20:21:08 GMT

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

Kireet Reddy commented on HTTPASYNC-23:

unfortunately i don't have time right now to build out a simplified test case. I will try
to make some time later and will reopen the issue if reproducible.
> request never completes
> -----------------------
>                 Key: HTTPASYNC-23
>                 URL: https://issues.apache.org/jira/browse/HTTPASYNC-23
>             Project: HttpComponents HttpAsyncClient
>          Issue Type: Bug
>    Affects Versions: 4.0-beta2
>         Environment: linux
>            Reporter: Kireet Reddy
>         Attachments: http.zip
> I am using the DefaultAsyncHttpClient and fairly often requests are not completing. I
have enabled logging and see the following when requesting url  http://g1.globo.com/pa/para/noticia/2012/08/bom-dia-para-desta-segunda-fala-sobre-importancia-do-voto.html
> o.a.h.i.n.c.DefaultHttpAsyncClient[DEBUG|feed-html-proc:3|13:43:13]: [exchange: 50] start
> o.a.h.i.n.c.DefaultHttpAsyncClient[DEBUG|feed-html-proc:3|13:43:13]: [exchange: 50] Request
connection for {}->http://g1.globo.com
> o.a.h.i.n.c.PoolingClientAsyncConnectionManager[DEBUG|feed-html-proc:3|13:43:13]: Connection
request: [route: {}->http://g1.globo.com][total kept alive: 4; route allocated: 1 of 10;
total allocated: 9 of 400]
> o.a.h.i.n.c.PoolingClientAsyncConnectionManager[DEBUG|feed-html-proc:3|13:43:13]: Connection
leased: [id: 9][route: {}->http://g1.globo.com][total kept alive: 3; route allocated: 1
of 10; total allocated: 9 of 400]
> o.a.h.i.n.c.DefaultHttpAsyncClient[DEBUG|feed-html-proc:3|13:43:13]: [exchange: 50] Connection
allocated: [id:9][route:{}->http://g1.globo.com][state:null]
> o.a.h.i.nio.reactor.IOSessionImpl[DEBUG|feed-html-proc:3|13:43:13]: http-outgoing-9<->[ACTIVE][r:r]:
Set attribute http.nio.exchange-handler
> o.a.h.i.nio.reactor.IOSessionImpl[DEBUG|feed-html-proc:3|13:43:13]: http-outgoing-9<->[ACTIVE][rw:r]:
Event set [w]
> at this point, I don't see anything else for this exchange ID or get a callback until
I shutdown the client. At that point I see:
> .a.h.i.n.c.DefaultHttpAsyncClient[DEBUG|Thread-3|14:16:20]: [exchange: 50] Cancelled
> o.a.h.i.n.c.PoolingClientAsyncConnectionManager[DEBUG|main|14:16:20]: Connection manager
shut down
> o.a.h.i.n.c.DefaultHttpAsyncClient[DEBUG|Thread-3|14:16:20]: [exchange: 50] aborting
connection [id:9][route:{}->http://g1.globo.com][state:null]
> Note the timestamp has progressed about 30 minutes with no timeout. I don't think there
is anything particularly special about this URL, it seems to happen randomly. I can reproduce
here easily but it won't be easy to create a reproduction test case as failures are sporadic.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

View raw message