On Sun, 2015-05-10 at 10:10 -0500, Mark Johnson wrote:
> What happens at this point is we have tried to issue an HTTP GET (but
> nothing goes out on the wire) and there's no timeout or exception
> thrown. So my client application hangs.
>
>
I cannot see any evidence of that in the log.
Please upgrade to HttpAsyncClient 4.1 and post a _complete_ wire /
context log of the session that exhibits the issue.
Oleg
>
> On 5/10/2015 6:51 AM, Oleg Kalnichevski wrote:
> > On Fri, 2015-05-08 at 09:28 -0500, Mark Johnson wrote:
> >> Hi,
> >>
> >> I'm having intermittent hangs with a client application that uses the
> >> async HTTPClient. (Its an HTTPS connection also.) I've turned on the
> >> diagnostics logs (attached) and performed a wire capture. My guess is
> >> that the server is not responding to a TCP RESET. One other variable -
> >> I'm going through a VPN connection to get to the server.
> >>
> >> Below is the diagnostics of a typical sequence when the failure occurs
> >> (just the last sequence). There’s a small attachment of a Wireshark
> >> capture. I see several cases where a TCP RST occurs in the full
> >> packet capture and it seems to recover until the hang. After the last
> >> TPC RESET, nothing else happens. I do have timeout settings for the
> >> response and connection.
> >>
> > What else do you expect to happen? As far as I can tell the client
> > closed the connection in response to server closing the connection on
> > its end.
> >
> > Oleg
> >
> >> So I'm thinking this is a problem on the server (not responding to
> >> the TCP RST). Is there any way to verify this? The version of
> >> HTTPClient is 4.3.2.
> >>
> >> Thanks in advance,
> >> Mark
> >>
> >>
> >>
> >>
> >> MainClientExec | | [exchange: 62] start execution
> >> RequestAddCookies | | CookieSpec selected: best-match
> >> RequestAddCookies | | Cookie [version: 0][name:
> >> vcloud-token][value:
> >> Trsj1Hs4btsBVK5jfY1xhf07tNadC0zDS8jkVv6pHPw=][domain:
> >> 192.168.70.25][path: /][expiry: null] match
> >> [(secure)192.168.70.25:443/api/task/b6d66a53-8d67-459f-871b-f024021606ea]
> >> RequestAuthCache | | Auth cache not set in the
> >> context
> >> InternalHttpAsyncClient | | [exchange: 62] Request
> >> connection for {s}->https://192.168.70.25:443
> >> lingNHttpClientConnectionManager | | Connection request: [route:
> >> {s}->https://192.168.70.25:443][total kept alive: 1; route allocated:
> >> 1 of 2; total allocated: 1 of 20]
> >> lingNHttpClientConnectionManager | | Connection leased: [id:
> >> http-outgoing-47][route: {s}->https://192.168.70.25:443][total kept
> >> alive: 0; route allocated: 1 of 2; total allocated: 1 of 20]
> >> InternalHttpAsyncClient | | [exchange: 62] Connection
> >> allocated: http-outgoing-47 [ACTIVE]
> >> ManagedNHttpClientConnectionImpl | | http-outgoing-47
> >> 192.168.14.105:6028<->192.168.70.25:443[ACTIVE][r:w][ACTIVE][r][NOT_HANDSHAKING][inbound
> >> done][][outbound done][][0][0][0][0]: Set attribute
> >> http.nio.exchange-handler
> >> ManagedNHttpClientConnectionImpl | | http-outgoing-47
> >> 192.168.14.105:6028<->192.168.70.25:443[ACTIVE][rw:w][ACTIVE][rw][NOT_HANDSHAKING][inbound
> >> done][][outbound done][][0][0][0][0]: Event set [w]
> >> HttpAsyncRequestExecutor | | http-outgoing-47 [ACTIVE]
> >> Request ready
> >> MainClientExec | | Connection route already
> >> established
> >> MainClientExec | | [exchange: 62] Attempt 1 to
> >> execute request
> >> MainClientExec | | Target auth state: UNCHALLENGED
> >> MainClientExec | | Proxy auth state: UNCHALLENGED
> >> ManagedNHttpClientConnectionImpl | | http-outgoing-47
> >> 192.168.14.105:6028<->192.168.70.25:443[ACTIVE][rw:w][ACTIVE][rw][NOT_HANDSHAKING][inbound
> >> done][][outbound done][][0][0][0][0]: Set timeout 50000
> >> headers | | http-outgoing-47 >>
> >> GET /api/task/b6d66a53-8d67-459f-871b-f024021606ea HTTP/1.1
> >> headers | | http-outgoing-47 >> Accept:
> >> application/*+xml;version=5.1
> >> headers | | http-outgoing-47 >> Connection:
> >> close
> >> headers | | http-outgoing-47 >>
> >> x-vcloud-authorization: Trsj1Hs4btsBVK5jfY1xhf07tNadC0zDS8jkVv6pHPw=
> >> headers | | http-outgoing-47 >> Host:
> >> 192.168.70.25
> >> headers | | http-outgoing-47 >> User-Agent:
> >> Apache-HttpAsyncClient/4.0.1 (java 1.5)
> >> headers | | http-outgoing-47 >> Cookie:
> >> vcloud-token=Trsj1Hs4btsBVK5jfY1xhf07tNadC0zDS8jkVv6pHPw=
> >> headers | | http-outgoing-47 >> Cookie2:
> >> $Version=1
> >> ManagedNHttpClientConnectionImpl | | http-outgoing-47
> >> 192.168.14.105:6028<->192.168.70.25:443[ACTIVE][rw:w][ACTIVE][rw][NOT_HANDSHAKING][inbound
> >> done][][outbound done][][0][0][0][0]: Event set [w]
> >> MainClientExec | | [exchange: 62] Request completed
> >> ManagedNHttpClientConnectionImpl | | http-outgoing-47
> >> 192.168.14.105:6028<->192.168.70.25:443[ACTIVE][rw:w][CLOSED][rw][NOT_HANDSHAKING][inbound
> >> done][][outbound done][][0][0][0][0]: 0 bytes written
> >> HttpAsyncRequestExecutor | | http-outgoing-47 [ACTIVE]:
> >> Disconnected
> >>
> >>
> >> Nothing after this.
> >>
> >>
> >>
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]