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] [Comment Edited] (HTTPASYNC-23) request never completes
Date Wed, 22 Aug 2012 16:48:42 GMT

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

Kireet Reddy edited comment on HTTPASYNC-23 at 8/23/12 3:48 AM:
----------------------------------------------------------------

here is a partial log. notice exchange 13520 never finishes. the code used to produce the
log was included in the attachment to Bug 24.
                
      was (Author: kireet):
    here is a partial log. notice exchange 13520 never finishes. the code used to produce
the log was included in the attachment to Bug 23.
                  
> 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
execution
> 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 216.218.207.141:53204<->186.192.82.114:80[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 216.218.207.141:53204<->186.192.82.114:80[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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


Mime
View raw message