[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

zhenwang closed HTTPCLIENT-1629.
--------------------------------
    Resolution: Fixed

i got it

> request not back with response
> ------------------------------
>
>                 Key: HTTPCLIENT-1629
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1629
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.3.5
>            Reporter: zhenwang
>
> Actual affect version is 4.3.3.  I have a keepalive service that every 20s 
> pull a request.At first period of time,it worked fine. But now, it seems that 
> some resource has hang,beause the response not back.
> correct log:
> DEBUG 2015-02-20 17:01:55,278 [pool-1-thread-1] Wire.wire(72) | 
> http-outgoing-346 >> "PUT /clients/keep_alive HTTP/1.1[\r][\n]"
> DEBUG 2015-02-20 17:01:55,278 [pool-1-thread-1] Wire.wire(72) | 
> http-outgoing-346 >> "Authorization: CollectorCode 123456[\r][\n]"
> DEBUG 2015-02-20 17:01:55,278 [pool-1-thread-1] Wire.wire(72) | 
> http-outgoing-346 >> "Content-Length: 13[\r][\n]"
> DEBUG 2015-02-20 17:01:55,278 [pool-1-thread-1] Wire.wire(72) | 
> http-outgoing-346 >> "Host: api.unimatic.io[\r][\n]"
> DEBUG 2015-02-20 17:01:55,278 [pool-1-thread-1] Wire.wire(72) | 
> http-outgoing-346 >> "Connection: Keep-Alive[\r][\n]"
> DEBUG 2015-02-20 17:01:55,278 [pool-1-thread-1] Wire.wire(72) | 
> http-outgoing-346 >> "User-Agent: Apache-HttpClient/4.3.3 (java 1.5)[\r][\n]"
> DEBUG 2015-02-20 17:01:55,278 [pool-1-thread-1] Wire.wire(72) | 
> http-outgoing-346 >> "Accept-Encoding: gzip,deflate[\r][\n]"
> DEBUG 2015-02-20 17:01:55,278 [pool-1-thread-1] Wire.wire(72) | 
> http-outgoing-346 >> "[\r][\n]"
> DEBUG 2015-02-20 17:01:55,278 [pool-1-thread-1] Wire.wire(86) | 
> http-outgoing-346 >> "{"online":[]}"
> DEBUG 2015-02-20 17:01:55,381 [pool-1-thread-1] Wire.wire(72) | 
> http-outgoing-346 << "HTTP/1.1 204 No Content[\r][\n]"
> DEBUG 2015-02-20 17:01:55,381 [pool-1-thread-1] Wire.wire(72) | 
> http-outgoing-346 << "Server: nginx/1.7.8[\r][\n]"
> DEBUG 2015-02-20 17:01:55,381 [pool-1-thread-1] Wire.wire(72) | 
> http-outgoing-346 << "Date: Fri, 20 Feb 2015 09:01:14 GMT[\r][\n]"
> DEBUG 2015-02-20 17:01:55,381 [pool-1-thread-1] Wire.wire(72) | 
> http-outgoing-346 << "Connection: keep-alive[\r][\n]"
> DEBUG 2015-02-20 17:01:55,381 [pool-1-thread-1] Wire.wire(72) | 
> http-outgoing-346 << "[\r][\n]"
> incorrect log:
> DEBUG 2015-02-20 17:02:15,277 [pool-1-thread-1] Wire.wire(72) | 
> http-outgoing-346 >> "PUT /clients/keep_alive HTTP/1.1[\r][\n]"
> DEBUG 2015-02-20 17:02:15,277 [pool-1-thread-1] Wire.wire(72) | 
> http-outgoing-346 >> "Authorization: CollectorCode 123456[\r][\n]"
> DEBUG 2015-02-20 17:02:15,277 [pool-1-thread-1] Wire.wire(72) | 
> http-outgoing-346 >> "Content-Length: 13[\r][\n]"
> DEBUG 2015-02-20 17:02:15,277 [pool-1-thread-1] Wire.wire(72) | 
> http-outgoing-346 >> "Host: api.unimatic.io[\r][\n]"
> DEBUG 2015-02-20 17:02:15,277 [pool-1-thread-1] Wire.wire(72) | 
> http-outgoing-346 >> "Connection: Keep-Alive[\r][\n]"
> DEBUG 2015-02-20 17:02:15,278 [pool-1-thread-1] Wire.wire(72) | 
> http-outgoing-346 >> "User-Agent: Apache-HttpClient/4.3.3 (java 1.5)[\r][\n]"
> DEBUG 2015-02-20 17:02:15,278 [pool-1-thread-1] Wire.wire(72) | 
> http-outgoing-346 >> "Accept-Encoding: gzip,deflate[\r][\n]"
> DEBUG 2015-02-20 17:02:15,278 [pool-1-thread-1] Wire.wire(72) | 
> http-outgoing-346 >> "[\r][\n]"
> DEBUG 2015-02-20 17:02:15,278 [pool-1-thread-1] Wire.wire(86) | 
> http-outgoing-346 >> "{"online":[]}"
> DEBUG 2015-02-20 17:02:35,274 [Thread-11] SleepHelper.<init>(14) | task 
> start: 1424422955274
> DEBUG 2015-02-20 17:02:35,274 [Thread-11] SleepHelper.close(20) | task wait: 
> 20000
> DEBUG 2015-02-20 17:02:55,274 [Thread-11] SleepHelper.<init>(14) | task 
> start: 1424422975274



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to