<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">when the one of the proxies loses its internet connection.. the default route is gone. Not the route to the machine.. </div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">the 12.194 proxy then gives this message:</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style=""><font face="tahoma, sans-serif">The following error was encountered while trying to retrieve the URL: <a href="http://www.tmz.com/">http://www.tmz.com/</a></font></div><div class="gmail_default" style=""><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default" style=""><font face="tahoma, sans-serif">Connection to 54.230.36.213 failed.</font></div><div class="gmail_default" style=""><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default" style=""><font face="tahoma, sans-serif">The system returned: (101) Network is unreachable</font></div><div class="gmail_default" style=""><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default" style=""><font face="tahoma, sans-serif">The remote host or network may be down. Please try the request again.</font><span style="font-family:tahoma,sans-serif;font-size:small"></span></div><div class="gmail_default" style=""><span style="font-family:tahoma,sans-serif;font-size:small"><br></span></div><div class="gmail_default" style=""><span style="font-family:tahoma,sans-serif;font-size:small">12.194 can not get to 54.230.36.213 (<a href="http://tmz.com">tmz.com</a>)..</span></div><div class="gmail_default" style=""><span style="font-family:tahoma,sans-serif;font-size:small"><br></span></div><div class="gmail_default" style=""><span style="font-family:tahoma,sans-serif;font-size:small">I can still get to 12.194.. </span></div><div class="gmail_default" style=""><span style="font-family:tahoma,sans-serif;font-size:small"><br></span></div><div class="gmail_default" style=""><span style="font-family:tahoma,sans-serif;font-size:small">Squid is still running on 12.194, 12.194 has no gateway.. the Internet connection FROM 12.194 TO the outside is dead and gone.</span></div><div class="gmail_default" style=""><span style="font-family:tahoma,sans-serif;font-size:small"><br></span></div><div class="gmail_default" style=""><span style="font-family:tahoma,sans-serif;font-size:small">That is what I am trying to fix..</span></div><div class="gmail_default" style=""><span style="font-family:tahoma,sans-serif;font-size:small"><br></span></div><div class="gmail_default" style=""><span style="font-family:tahoma,sans-serif;font-size:small">When a cache_peer has a connectivity problem..</span></div><div class="gmail_default" style=""><span style="font-family:tahoma,sans-serif;font-size:small"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 22, 2016 at 12:46 AM, Amos Jeffries <span dir="ltr"><<a href="mailto:squid3@treenet.co.nz" target="_blank">squid3@treenet.co.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 22/06/2016 7:12 a.m., B. Cook wrote:<br>
> On Tue, Jun 21, 2016 at 3:18 AM, Amos Jeffries <<a href="mailto:squid3@treenet.co.nz">squid3@treenet.co.nz</a>> wrote:<br>
><br>
>><br>
>> So you're trolling. The FAQ it is then:<br>
>> <<a href="http://wiki.squid-cache.org/Features/CacheHierarchy" rel="noreferrer" target="_blank">http://wiki.squid-cache.org/Features/CacheHierarchy</a>><br>
>> <<a href="http://wiki.squid-cache.org/Features/LoadBalance" rel="noreferrer" target="_blank">http://wiki.squid-cache.org/Features/LoadBalance</a>><br>
>><br>
>><br>
> Thank you the response..<br>
><br>
> squid.conf (3.5.19 debian host 192.168.10.115)<br>
> cache_peer 10.20.12.144 parent 3128 0 no-digest no-netdb-exchange<br>
> proxy-only<br>
> cache_peer 10.20.12.194 parent 3128 0 no-digest no-netdb-exchange<br>
> proxy-only<br>
> cache_peer 10.20.32.99 parent 3128 0 no-digest no-netdb-exchange proxy-only<br>
> default<br>
> prefer_direct off<br>
> nonhierarchical_direct off<br>
><br>
> Turing off squid on host 10.20.12.144 immediately got 10.115 to pass<br>
> connections over to 12.194 (great) as denoted in the logs below..<br>
><br>
> 2016/06/21 15:02:16 kid1| TCP connection to <a href="http://10.20.12.144/3128" rel="noreferrer" target="_blank">10.20.12.144/3128</a> failed<br>
> 2016/06/21 15:02:16 kid1| TCP connection to <a href="http://10.20.12.144/3128" rel="noreferrer" target="_blank">10.20.12.144/3128</a> failed<br>
> 2016/06/21 15:02:24 kid1| TCP connection to <a href="http://10.20.12.144/3128" rel="noreferrer" target="_blank">10.20.12.144/3128</a> failed<br>
> 2016/06/21 15:02:24 kid1| TCP connection to <a href="http://10.20.12.144/3128" rel="noreferrer" target="_blank">10.20.12.144/3128</a> failed<br>
> 2016/06/21 15:02:24 kid1| TCP connection to <a href="http://10.20.12.144/3128" rel="noreferrer" target="_blank">10.20.12.144/3128</a> failed<br>
> 2016/06/21 15:02:24 kid1| TCP connection to <a href="http://10.20.12.144/3128" rel="noreferrer" target="_blank">10.20.12.144/3128</a> failed<br>
> 2016/06/21 15:02:24 kid1| TCP connection to <a href="http://10.20.12.144/3128" rel="noreferrer" target="_blank">10.20.12.144/3128</a> failed<br>
> 2016/06/21 15:02:24 kid1| TCP connection to <a href="http://10.20.12.144/3128" rel="noreferrer" target="_blank">10.20.12.144/3128</a> failed<br>
> 2016/06/21 15:02:24 kid1| TCP connection to <a href="http://10.20.12.144/3128" rel="noreferrer" target="_blank">10.20.12.144/3128</a> failed<br>
> 2016/06/21 15:02:24 kid1| TCP connection to <a href="http://10.20.12.144/3128" rel="noreferrer" target="_blank">10.20.12.144/3128</a> failed<br>
> 2016/06/21 15:02:24 kid1| Detected DEAD Parent: 10.20.12.144<br>
> 2016/06/21 15:02:32 kid1| Detected REVIVED Parent: 10.20.12.144<br>
><br>
> When I enabled squid on host 10.20.12.144 squid detected dead -> revived<br>
> and passed traffic again.. (also great)..<br>
><br>
> but when host 10.20.12.144 loses it's gateway, the default route on 12.144<br>
> is dead.. traffic is still to 12.144.. squid didn't die, the process is<br>
> still running..<br>
><br>
> Nothing is detected and 12.194 is never contacted..<br>
><br>
> How do I get squid to detect that no valid data is being returned from<br>
> 12.144.. or am I missing something?<br>
<br>
</div></div>You have a router misconfiguration somewhere. Probably ICMP is not<br>
working on your network. Which is causing connnections to hang for long<br>
periods instead of failing over to the other peer.<br>
<br>
Attempts by Squid to contact 12.144 when there is no way to route<br>
traffic to it should be getting an ICMP "no route to host" error back.<br>
<div class="HOEnZb"><div class="h5"><br>
Amos<br>
<br>
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font face="tahoma, sans-serif">Network Analyst<br>Poughkeepsie City School District<br>SMS & Mobile: (202) 810-5827<br><a href="http://twitter.com/bcookatpcsd" target="_blank">twitter.com/bcookatpcsd</a><br></font></div><div><font face="tahoma, sans-serif"><br></font></div><div><font face="tahoma, sans-serif">If you can't explain it simply, you don't understand it well enough.</font></div></div></div></div></div></div></div></div></div></div></div>
</div>
<br>
<br style="color:rgb(136,136,136);font-family:arial,sans-serif;background-color:rgb(255,255,255)"><span style="color:rgb(69,69,69);background-color:rgb(255,255,255)"><font size="1">This message may contain confidential information and is intended only for the individual(s) named. If you are not an intended recipient you are not authorized to disseminate, distribute or copy this e-mail. Please notify the sender immediately if you have received this e-mail by mistake and delete this e-mail from your system.</font></span>