[squid-users] Fwd: Re: HTTP 503 error in squid proxy server

Amos Jeffries squid3 at treenet.co.nz
Sat Nov 7 14:44:54 UTC 2015


>>> On Saturday 07 November 2015 at 09:30:04, 聡司蛭田 wrote:
>>>> Dear
>>>>
>>>> I have question about HTTPS communication through Squid Proxy Server.
>>>>
>>>> HTTP 503 error frequency occurs.
>>>> 10.xx.xx.xx - - [01/Nov/2015:03:44:33 +0900] "CONNECT
>>> xxxx.xxxx.xxx.io:443
>>>> HTTP/1.1" 503 0 "-" "Javaa/1.7.0_71" TCP_MISS:DIRECT
>>>> xxxx.xxxx.xxx.io:443 is ELB (Internet-Facing Load Balancer) DNS name.
>>>

Hold up.

Squid is being instructed to open a TCP connection from itself to
xxxx.xxxx.xxx.io and deliver the contents that follow the CONNECT
message there.


If xxxx.xxxx.xxx.io is the ELB, what do you expect will happen when
Squid obeys?

The short answer is "Forwarding Loop", eventually the cycle of
ELB->Squid->ELB->Squid ... ends up going through one of the Squid it has
already passed through which kills the loop with a 503.

Amos



More information about the squid-users mailing list