[squid-users] 503 service unavailable on connection refused

Dominic Kim style9595 at gmail.com
Mon May 29 07:03:25 UTC 2017


My bad..

Please find the attached log.

It looks squid is retrying many times.
And after reach maximum retry limit, it responds with 503 service
unavailable.

As you know maximum limit is 10 times.
It looks that it retries 10 times within just 3 seconds.

Are there any way to configure retry interval?

Thanks
Regards
Dominic

2017-05-23 1:13 GMT+09:00 Alex Rousskov <rousskov at measurement-factory.com>:

> On 05/22/2017 03:02 AM, Dominic Kim wrote:
> > I have tested with squid 3.3, 3.5, 4.
> > And the behavior were same.
>
> When using Squid v3.5 or v4, please reproduce the problem using a single
> HTTP transaction while collecting level-7 or higher debugging and then
> post the corresponding (compressed) cache.log.
>
> http://wiki.squid-cache.org/SquidFaq/BugReporting#
> Debugging_a_single_transaction
>
> Alex.
>
>
> > 2017-05-22 18:01 GMT+09:00 Dominic Kim:
> >
> >     When I connect to a target server via squid, if server does not
> >     exist, I get "No route to host" error.
> >     And if server exist, but port is not opened yet, I get "Connection
> >     refused" error.
> >
> >     As per the definition of "connect_retries" option, it should retry
> >     when connection attempt failed.
> >     (reference: http://www.squid-cache.org/Doc/config/connect_retries/
> >     <http://www.squid-cache.org/Doc/config/connect_retries/>)
> >
> >     IMHO, in both the cases, connection attempts failed and it is
> >     supposed to retry.
> >     However, if I enable this feature, it only retries on "No route to
> >     host" error.
> >     In case of "Connection refused", I am getting 503 service
> >     unavailable error immediately.
> >
> >     Are there anyway to fix this behavior?
> >     Kindly help me.
> >
> >     Thanks
> >     Regards
> >     Dongkyoung
> >
> >
> >
> >
> >
> > _______________________________________________
> > squid-users mailing list
> > squid-users at lists.squid-cache.org
> > http://lists.squid-cache.org/listinfo/squid-users
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20170529/caf89ecc/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: partail-cache.tar.gz
Type: application/x-gzip
Size: 24712 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20170529/caf89ecc/attachment-0001.bin>


More information about the squid-users mailing list