<div dir="ltr">Colin<div><br></div><div>Error 502 is "Bad Gateway" meaning a proxy had trouble connecting to an upstream device. This could be a fault on the BlueCoat, or it could be a fault on a reverse proxy at the remote site, if Terabithia uses reverse proxies. I don't think it's your Squid proxy. But perhaps try running wget/curl on your squid proxy and setting https_proxy to 192.168.0.10. If the problem persists, this will not only rule out the Squid proxy, but the web page returned may give more detail about the cause. As it's related to https vs http, I'm guessing the BlueCoat is having a problem with Terabithia's certificate.</div><div><br></div><div>Also, try running wget on your content mirror to fetch something via https known to be working like <a href="https://www.google.com/">https://www.google.com/</a>.</div><div><br></div><div>Cheers</div><div>Jeremy</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 7 Jun 2019 at 09:57, Colin Coe <<a href="mailto:colin.coe@gmail.com">colin.coe@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi<div><br></div><div>I'm trying to sync the Xymon repos on <a href="http://terabithia.org" target="_blank">terabithia.org</a> locally.</div><div><br></div><div>I had this working when http was accepted but since its gone https, I just see 502 messages in my squid logs:</div><div>1559864923.715    585 192.168.0.90 TCP_TUNNEL/502 0 CONNECT <a href="http://terabithia.org:443" target="_blank">terabithia.org:443</a> - FIRSTUP_PARENT/<a href="http://192.168.0.10" target="_blank">192.168.0.10</a> -<br></div><div><br></div><div>I've tried wget and curl with the same result:</div><div>https_proxy=<a href="https://192.168.0.12:3128" target="_blank">https://192.168.0.12:3128</a> wget -r --no-parent --no-check-certificate <a href="https://terabithia.org/rpms/xymon/el6/" target="_blank">https://terabithia.org/rpms/xymon/el6/</a><br></div><div><br></div><div>192.168.0.90 is the local content mirror (RHEL7, fully patched)</div><div>192.168.0.10 is our upstream proxy (BlueCoat, managed by another group)</div><div>192.168.0.12 is our local proxy (Squid on RHEL7, fully patched)</div><div><br></div><div>(Not our real IP's)</div><div><br></div><div>Any ideas?</div><div><br></div><div>Thanks</div></div>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</blockquote></div>