On Thu, 2017-08-24 at 23:37 +0530, Vasudevan Comandur wrote: > Hi, > > I am using HTMLUnit version 2.23 which has httpclient 4.5.2 and > httpcore 4.4.4 > bundled along with that. > > I am connecting to a job board and after successful login, the > client application > fails with socket exception which waiting for the response for a > GET request. The > GET request was sent from the client 4 times to the server. I > took the http wire > frame log and I am attaching herewith for your analysis. > > I also took the wireshark trace to find out if there is any error > at the TCP > layer. I saw the response was coming from the server all the 4 > times. > > I can share the wireshark trace file for your analysis as well. > Wireshark > version is 2.2.1. > > I would appreciate if you could tell me why it was failing and > this issue has > become critical and what is the solution. > > Thanks for your help in advance >
--- 2017-08-24 21:38:34,884 [pool-4-thread-1] DEBUG http.wire - http-outgoing-4 >> "GET /jobposter/mycb.aspx HTTP /1.1[\r][\n]" ... 2017-08-24 21:38:34,885 [pool-4-thread-1] DEBUG http.wire - http-outgoing-4 >> "[\r][\n]" 2017-08-24 21:38:36,303 [pool-4-thread-1] DEBUG http.wire - http-outgoing-4 << "end of stream" --- I clearly see the socket returning -1 (end of stream) pretty much immediately after the request which can basically mean two things: 1. server failed to respond with a HTTP status due to an internal error 2. the connection got stale while kept alive in the pool Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
