Hello!
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:
Accept: application/cache-digest
Accept: text/html
X-Forwarded-For: unknown
Host: 172.22.15.88:3128
Cache-Control: max-age=259200
Connection: keep-alive
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
…
Response:
HTTP/1.1 200 Cache Digest OK
…
My setup:
Multiple squids as siblings, one parent (not a squid).
Peers configuration:
# 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
# Parent
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.
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users