[squid-users] TCP_MISS/504 in cache_peer

Antony Stone Antony.Stone at squid.open.source.it
Tue Jun 30 07:54:39 UTC 2015


On Tuesday 30 Jun 2015 at 08:24, Stakres wrote:

> Here, it seems the parent (sibling mode) tries to do the request itself but
> faces an error (504 gateway timeout), it should answer to the kid it does
> not have the object (TCP_MISS) then the parent should download the object
> from internet.

Surely it is getting the 504 error when it is trying to download the object?

> With this error, i suspect the kid accepts the "error" and does nothing
> more, replying to the browser (user) something like "sorry, the object is
> missing".

Instead of "missing", try "unavailable".

> How can i force the kid to download the object from internet when the
> parent replies a such answer ?

As far as I know, you can't.  You can configure browsers to use the proxy for 
some requests and go direct for others, but once that choice has been made, 
that's the way the browser will do it.

Anyway, what makes you think the "kid" browser would be able to get the 
object, if the "parent" proxy was unable to?

Have you actually tried downloading such an object direct from a browser 
without using Squid, and found that it is available?

If so, please give us a URL to the object so we can investigate...


regards,


Antony.

-- 
Users don't know what they want until they see what they get.

                                                   Please reply to the list;
                                                         please *don't* CC me.


More information about the squid-users mailing list