Hi List
[this email is not subscribed, please keep it in Cc]
I'd like your advice on a few log entries that confuse me. I am seeing
HTTP 2.0 requests dying with a termination code of 'CC', i.e.:
C : the TCP session was unexpectedly aborted by the client.
C : the proxy was waiting for the CONNECTION to establish on the
server. The server might at most have noticed a connection attempt.
Thus my understanding is that the client is "simply gone". However
HAProxy *also logs* a HTTP status of 503 with 0 bytes sent to the client.
For requests that never even established a connection to the server and
that were aborted by the client I would not have expected any status
code to be logged at all, after all the server could not generate one
and there is no client that would be able to receive it.
Example entries:
*snip*:59447 [20/May/2021:21:45:12.448] https~ *snip*/nginx 1/0/-1/-1/2 503 0 - - CC--
88/87/3/3/0 0/0 {www.example.com|Mozilla/5.0*snip*|} {|} "GET
https://www.example.com/*snip*.svg HTTP/2.0" 0004-60A6D8681D428
*snip*:59447 [20/May/2021:21:45:12.448] https~ *snip*/nginx 1/0/-1/-1/2 503 0 - - CC--
88/87/2/2/0 0/0 {www.example.com|Mozilla/5.0*snip*|} {|} "GET
https://www.example.com/*snip*.png HTTP/2.0" 0004-60A6D8681D429
*snip*:59447 [20/May/2021:21:45:12.449] https~ *snip*/nginx 1/0/-1/-1/2 503 0 - - CC--
88/87/2/2/0 0/0 {www.example.com|Mozilla/5.0*snip*|} {|} "GET
https://www.example.com/*snip*.jpg/?thumbnail=1 HTTP/2.0" 0004-60A6D8681D42A
*snip*:59447 [20/May/2021:21:45:12.449] https~ *snip*/nginx 2/0/-1/-1/1 503 0 - - CC--
88/87/1/1/0 0/0 {www.example.com|Mozilla/5.0*snip*|} {|} "GET
https://www.example.com/*snip*.jpg/?thumbnail=1 HTTP/2.0" 0004-60A6D8681D42B
Can someone explain what (most likely) happened there? Is HAProxy just
making up a status code?
The reason I'm asking is that this 503 popped up in my log processing as
a server / backend error, but I don't think there's anything I could do
about it. A client closing the connection after 2ms appears to be
entirely out of my control. I might be misunderstanding it, though.
Best regards
Tim Düsterhus
Developer WoltLab GmbH
--
WoltLab GmbH
Nedlitzer Str. 27B
14469 Potsdam
Tel.: +49 331 96784338
[email protected]
www.woltlab.com
Managing director:
Marcel Werk
AG Potsdam HRB 26795 P