[squid-users] squid sibling peers and digest requests
xeron.oskom at gmail.com
Thu Dec 29 03:03:41 UTC 2016
I'm trying to setup multiple squids as siblings with a parent which is not
even a squid.
But I'm getting following message in logs:
temporary disabling (Bad Gateway) digest from 172.22.15.88
temporary disabling (Bad Gateway) digest from …
Squid 3.5.23, compiled with "--enable-cache-digests".
For parent I'm setting no-digest, but I'd like to get digests between
siblings. However, it doesn't work and I probably found a reason after
reading debug logs:
This is how squid does store_digest request from a sibling peer:
GET http://172.22.15.88:3128/squid-internal-periodic/store_digest HTTP/1.1
Response (if I execute this request manually from telnet):
HTTP/1.1 502 Bad Gateway
This request has been forwarded to a parent and parent returned 502!
Now if I manually do the same request with a relative URL:
GET /squid-internal-periodic/store_digest HTTP/1.1
HTTP/1.1 200 Cache Digest OK
Multiple squids as siblings, one parent (not a squid).
# Other squids
cache_peer 172.22.15.88 sibling 3128 4827 htcp
cache_peer … sibling 3128 4827 htcp
acl siblings src 172.22.15.88/32
acl siblings src …/32
miss_access deny siblings
cache_peer 127.0.0.1 parent 18070 0 no-query no-digest name=NAME
cache_peer_access NAME deny some_acl
Anyone else seen similar issue? Do you have an example of working
configuration with multiple siblings and enabled digests?
With best regards, Ivan Larionov.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the squid-users