You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by Alvin Alexander Utomo <al...@pesat.net.id> on 2011/05/25 17:17:04 UTC
Error could not find server
My ATS shows errors like this :
20110525.21h59m39s RESPONSE: sent 202.95.137.5 status 502 (Cannot find
server.) for 'http:///ajax/session.php?__a=1'
20110525.21h59m39s RESPONSE: sent 202.95.137.5 status 502 (Cannot find
server.) for 'http:///ajax/apps/usage_update.php?__a=1'
20110525.21h59m39s RESPONSE: sent 202.95.137.6 status 502 (Cannot find
server.) for 'http:///ajax/chat/buddy_list.php?__a=1'
20110525.21h59m39s RESPONSE: sent 202.95.137.6 status 502 (Cannot find
server.) for 'http:///fbml/fbjs_ajax_proxy.php?__a=1'
20110525.21h59m41s RESPONSE: sent 202.95.137.6 status 502 (Cannot find
server.) for 'http:///ajax/chat/buddy_list.php?__a=1'
All clients can't connect to facebook.com while still can connect to
other websites.
It happened daily at almost the same time. Already tuned the hostdb file
size to 1,2GB. Maybe these errors have correlation with INACTIVE_TIMEOUT
errors to facebook.com I've posted before?
Need englightment here.. :)
--
Regards,
Alvin
Re: Error could not find server
Posted by Alvin Alexander <al...@pesat.net.id>.
It seems that the problem is related to this :
CONFIG proxy.config.hostdb.timeout INT 1440
When it's happening the statistic showed :
Host Database Hit Rate :*54.10 %*
error.log : RESPONSE: sent 202.95.137.6 status 502 (Cannot find
server.) for .....
All clients can't browse at all.
And when it's normal :
Host Database Hit Rate :*94.15 %*
Solved with manual traffic_line -L (restart)
Currently I cronned that line to be run per 24 hours.
Any solution ?
Regards,
Alvin
On 25/05/2011 11:01, Alvin Alexander Utomo wrote:
> Dear Alan,
> I've already commented out that line before the error occured :
>
> CONFIG proxy.config.http.server_port INT 3129
> CONFIG proxy.config.http.server_port_attr STRING =
> # to enable IPv6 listening on port 8080:
> # CONFIG proxy.config.http.server_other_ports STRING 8080:X6
> #CONFIG proxy.config.http.server_other_ports STRING 3128:>
>
> Regards,
> Alvin
>
>
> On 25/05/2011 10:48, Alan M. Carroll wrote:
>> I think that's actually a bug in the logging (which I thought I fixed
>> for
>> 2.1.8).
>>
>> Anyway, I suspect at this point that it's a result of using client side
>> transparency for the other server ports. Facebook will see all the
>> requests
>> coming from a single IP address (that of the ATS box) and eventually
>> it's
>> access times out and doesn't get renewed. I would recommend changing
>> from ':>'
>> to ':=' on the other ports for this line
>>
>> CONFIG proxy.config.http.server_other_ports STRING 3128:>
>>
>> The half transparency cases are not yet well tested.
>>
>> Unfortunately, I will be leaving for 2 weeks this weekend and will
>> have very
>> little electronic contact. I am currently focused on another ATS
>> project and
>> can't devote much time to this until then.
>>
>>
>> Wednesday, May 25, 2011, 10:21:40 AM, you wrote:
>>
>>> On 05/25/2011 09:17 AM, Alvin Alexander Utomo wrote:
>>>> My ATS shows errors like this :
>>>>
>>>> 20110525.21h59m39s RESPONSE: sent 202.95.137.5 status 502 (Cannot find
>>>> server.) for 'http:///ajax/session.php?__a=1'
>>>> 20110525.21h59m39s RESPONSE: sent 202.95.137.5 status 502 (Cannot find
>>>> server.) for 'http:///ajax/apps/usage_update.php?__a=1'
>>>> 20110525.21h59m39s RESPONSE: sent 202.95.137.6 status 502 (Cannot find
>>>> server.) for 'http:///ajax/chat/buddy_list.php?__a=1'
>>>> 20110525.21h59m39s RESPONSE: sent 202.95.137.6 status 502 (Cannot find
>>>> server.) for 'http:///fbml/fbjs_ajax_proxy.php?__a=1'
>>>> 20110525.21h59m41s RESPONSE: sent 202.95.137.6 status 502 (Cannot find
>>>> server.) for 'http:///ajax/chat/buddy_list.php?__a=1'
>>> I know there have been reports of some broken logs issues with
>>> transparent proxy, so it's difficult to tell here. I mean, the log
>>> indicates that there would be not Host: header in the request I think.
>>> However, as far as I can tell, the errors above would only happen if
>>> DNS
>>> failed for us. I'm curious, does restarting the server "resolve" the
>>> issue?
>>> -- Leif
>>
>>
>>
>>
>
>
>
>
Re: Error could not find server
Posted by Alvin Alexander Utomo <al...@pesat.net.id>.
Dear Alan,
I've already commented out that line before the error occured :
CONFIG proxy.config.http.server_port INT 3129
CONFIG proxy.config.http.server_port_attr STRING =
# to enable IPv6 listening on port 8080:
# CONFIG proxy.config.http.server_other_ports STRING 8080:X6
#CONFIG proxy.config.http.server_other_ports STRING 3128:>
Regards,
Alvin
On 25/05/2011 10:48, Alan M. Carroll wrote:
> I think that's actually a bug in the logging (which I thought I fixed for
> 2.1.8).
>
> Anyway, I suspect at this point that it's a result of using client side
> transparency for the other server ports. Facebook will see all the requests
> coming from a single IP address (that of the ATS box) and eventually it's
> access times out and doesn't get renewed. I would recommend changing from ':>'
> to ':=' on the other ports for this line
>
> CONFIG proxy.config.http.server_other_ports STRING 3128:>
>
> The half transparency cases are not yet well tested.
>
> Unfortunately, I will be leaving for 2 weeks this weekend and will have very
> little electronic contact. I am currently focused on another ATS project and
> can't devote much time to this until then.
>
>
> Wednesday, May 25, 2011, 10:21:40 AM, you wrote:
>
>> On 05/25/2011 09:17 AM, Alvin Alexander Utomo wrote:
>>> My ATS shows errors like this :
>>>
>>> 20110525.21h59m39s RESPONSE: sent 202.95.137.5 status 502 (Cannot find
>>> server.) for 'http:///ajax/session.php?__a=1'
>>> 20110525.21h59m39s RESPONSE: sent 202.95.137.5 status 502 (Cannot find
>>> server.) for 'http:///ajax/apps/usage_update.php?__a=1'
>>> 20110525.21h59m39s RESPONSE: sent 202.95.137.6 status 502 (Cannot find
>>> server.) for 'http:///ajax/chat/buddy_list.php?__a=1'
>>> 20110525.21h59m39s RESPONSE: sent 202.95.137.6 status 502 (Cannot find
>>> server.) for 'http:///fbml/fbjs_ajax_proxy.php?__a=1'
>>> 20110525.21h59m41s RESPONSE: sent 202.95.137.6 status 502 (Cannot find
>>> server.) for 'http:///ajax/chat/buddy_list.php?__a=1'
>> I know there have been reports of some broken logs issues with
>> transparent proxy, so it's difficult to tell here. I mean, the log
>> indicates that there would be not Host: header in the request I think.
>> However, as far as I can tell, the errors above would only happen if DNS
>> failed for us. I'm curious, does restarting the server "resolve" the issue?
>> -- Leif
>
>
>
>
Re: Error could not find server
Posted by "Alan M. Carroll" <am...@network-geographics.com>.
I think that's actually a bug in the logging (which I thought I fixed for
2.1.8).
Anyway, I suspect at this point that it's a result of using client side
transparency for the other server ports. Facebook will see all the requests
coming from a single IP address (that of the ATS box) and eventually it's
access times out and doesn't get renewed. I would recommend changing from ':>'
to ':=' on the other ports for this line
CONFIG proxy.config.http.server_other_ports STRING 3128:>
The half transparency cases are not yet well tested.
Unfortunately, I will be leaving for 2 weeks this weekend and will have very
little electronic contact. I am currently focused on another ATS project and
can't devote much time to this until then.
Wednesday, May 25, 2011, 10:21:40 AM, you wrote:
> On 05/25/2011 09:17 AM, Alvin Alexander Utomo wrote:
>> My ATS shows errors like this :
>>
>> 20110525.21h59m39s RESPONSE: sent 202.95.137.5 status 502 (Cannot find
>> server.) for 'http:///ajax/session.php?__a=1'
>> 20110525.21h59m39s RESPONSE: sent 202.95.137.5 status 502 (Cannot find
>> server.) for 'http:///ajax/apps/usage_update.php?__a=1'
>> 20110525.21h59m39s RESPONSE: sent 202.95.137.6 status 502 (Cannot find
>> server.) for 'http:///ajax/chat/buddy_list.php?__a=1'
>> 20110525.21h59m39s RESPONSE: sent 202.95.137.6 status 502 (Cannot find
>> server.) for 'http:///fbml/fbjs_ajax_proxy.php?__a=1'
>> 20110525.21h59m41s RESPONSE: sent 202.95.137.6 status 502 (Cannot find
>> server.) for 'http:///ajax/chat/buddy_list.php?__a=1'
> I know there have been reports of some broken logs issues with
> transparent proxy, so it's difficult to tell here. I mean, the log
> indicates that there would be not Host: header in the request I think.
> However, as far as I can tell, the errors above would only happen if DNS
> failed for us. I'm curious, does restarting the server "resolve" the issue?
> -- Leif
Re: Error could not find server
Posted by Leif Hedstrom <zw...@apache.org>.
On 05/25/2011 09:17 AM, Alvin Alexander Utomo wrote:
> My ATS shows errors like this :
>
> 20110525.21h59m39s RESPONSE: sent 202.95.137.5 status 502 (Cannot find
> server.) for 'http:///ajax/session.php?__a=1'
> 20110525.21h59m39s RESPONSE: sent 202.95.137.5 status 502 (Cannot find
> server.) for 'http:///ajax/apps/usage_update.php?__a=1'
> 20110525.21h59m39s RESPONSE: sent 202.95.137.6 status 502 (Cannot find
> server.) for 'http:///ajax/chat/buddy_list.php?__a=1'
> 20110525.21h59m39s RESPONSE: sent 202.95.137.6 status 502 (Cannot find
> server.) for 'http:///fbml/fbjs_ajax_proxy.php?__a=1'
> 20110525.21h59m41s RESPONSE: sent 202.95.137.6 status 502 (Cannot find
> server.) for 'http:///ajax/chat/buddy_list.php?__a=1'
I know there have been reports of some broken logs issues with
transparent proxy, so it's difficult to tell here. I mean, the log
indicates that there would be not Host: header in the request I think.
However, as far as I can tell, the errors above would only happen if DNS
failed for us. I'm curious, does restarting the server "resolve" the issue?
-- Leif