trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fieck, Brennan" <Brennan_Fi...@comcast.com>
Subject Re: [EXTERNAL] Re: Help understanding a connection error log meaning
Date Fri, 15 Jun 2018 15:23:10 GMT
Since you asked to understand the meaning: Looking at the man pages (https://linux.die.net/man/3/errno)
it looks like there's a library function somewhere that's exiting successfully but returning
something non-zero. Likely it's setting the errno to 0 to distinguish this from an error and
part of traffic server is looking at the return value itself as an indication of an error,
and displaying the errno and information of the last error, but it's nothing.


Of course, that's all just a guess.

________________________________
From: Alan Carroll <solidwallofcode@oath.com>
Sent: Friday, June 15, 2018 8:59 AM
To: users@trafficserver.apache.org
Subject: [EXTERNAL] Re: Help understanding a connection error log meaning

This is known bug. The response was a 502 but the reason was not updated correctly. See

https://github.com/apache/trafficserver/pull/1526
https://github.com/apache/trafficserver/pull/2825

It should be fixed for 8.0. I would think it would be fixed in 7.1.3.


On Fri, Jun 15, 2018 at 9:48 AM, Dunkin, Nick <Nick.Dunkin@ccur.com<mailto:Nick.Dunkin@ccur.com>>
wrote:
Good morning,

I'm running some load tests and I'm seeing the following in the error.log.

20180615.09h25m11s RESPONSE: sent xx.xx.xx.xx status 502 (Connect Error <Success/0>)
for 'http://MyServer:80/MyPath'

(I've removed my IP address and path from the above log entry, but that shouldn't matter for
this question.)

I'd like to understand the meaning of Connect Error <Success/0>.  Specifically the Success/0
bit.

Looking in the code I see the following (in HttpTransact.cc):

snprintf(reason_buffer, buf_len, "Connect Error <%s/%d>", get_error_string(s->cause_of_death_errno),
s->cause_of_death_errno);

(where s is of type State*)
So, cause_of_death_errno is clearly 0.  I'd like to understand what this means, can anyone
direct me to some documentation or code?

This if 7.0.0

I'm sure this is a legitimate issue with my Origin, not Traffic Server and I'd just understand
more about the error condition.

Many thanks,

Nick

Nick Dunkin
Principal Engineer
o:   678.258.4071
e:   Nick.Dunkin@curr.com<mailto:Nick.Dunkin@ccur.com>
4375 River Green Pkwy # 100, Duluth, GA<https://maps.google.com/?q=4375+River+Green+Pkwy+%23+100,+Duluth,+GA+30096,+USA&entry=gmail&source=g>
30096, USA<https://maps.google.com/?q=4375+River+Green+Pkwy+%23+100,+Duluth,+GA+30096,+USA&entry=gmail&source=g>
[/Users/nickd/Library/Containers/com.microsoft.Outlook/Data/Library/Caches/Signatures/signature_851612530]


Mime
View raw message