<div dir="ltr"><div style="font-size:12.8px">Hello!</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I'm trying to setup multiple squids as siblings with a parent which is not even a squid.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">But I'm getting following message in logs:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">temporary disabling (Bad Gateway) digest from 172.22.15.88<br></div><div style="font-size:12.8px"><span style="font-size:12.8px">temporary disabling (Bad Gateway) digest from …</span><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Squid 3.5.23, compiled with "--enable-cache-digests".</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">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:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">This is how squid does store_digest request from a sibling peer:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">GET <a href="http://172.22.15.88:3128/squid-internal-periodic/store_digest" target="_blank">http://172.22.15.88:3128/<wbr>squid-internal-periodic/store_<wbr>digest</a> HTTP/1.1</div><div style="font-size:12.8px">Accept: application/cache-digest</div><div style="font-size:12.8px">Accept: text/html</div><div style="font-size:12.8px">X-Forwarded-For: unknown</div><div style="font-size:12.8px">Host: <a href="http://172.22.15.88:3128/" target="_blank">172.22.15.88:3128</a></div><div style="font-size:12.8px">Cache-Control: max-age=259200</div><div style="font-size:12.8px">Connection: keep-alive</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Response (if I execute this request manually from telnet):</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">HTTP/1.1 502 Bad Gateway</div><div style="font-size:12.8px">…</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">This request has been forwarded to a parent and parent returned 502!</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Now if I manually do the same request with a relative URL:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">GET /squid-internal-periodic/<wbr>store_digest HTTP/1.1</div><div style="font-size:12.8px">…</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Response:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">HTTP/1.1 200 Cache Digest OK</div><div style="font-size:12.8px">…</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">My setup:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Multiple squids as siblings, one parent (not a squid).</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Peers configuration:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"># Other squids</div><div style="font-size:12.8px">cache_peer 172.22.15.88 sibling 3128 4827 htcp</div><div style="font-size:12.8px">cache_peer … sibling 3128 4827 htcp</div><div style="font-size:12.8px">acl siblings src <a href="http://172.22.15.88/32" target="_blank">172.22.15.88/32</a></div><div style="font-size:12.8px">acl siblings src …/32</div><div style="font-size:12.8px">miss_access deny siblings</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"># Parent</div><div style="font-size:12.8px">cache_peer 127.0.0.1 parent 18070 0 no-query no-digest name=NAME</div><div style="font-size:12.8px">cache_peer_access NAME deny some_acl</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Anyone else seen similar issue? Do you have an example of working configuration with multiple siblings and enabled digests?</div><div><br></div>-- <br><div class="gmail_signature">With best regards, Ivan Larionov.</div>
</div>