[squid-users] Error 503 accessing Instagram/facebook via IPv6
Nishant Sharma
codemarauder at gmail.com
Sat Oct 30 06:26:10 UTC 2021
Hello,
On 30/10/21 11:40 am, marcelorodrigo at graminsta.com.br wrote:
> Since last 3-4 days my customers haven't been able to access
> www.instagram.com and Facebook throug IPv6s that were already working as
> proxies for years.
>
> I only get 503 error after a time out.
> The strangest thing is that I can connect 20-30% of the attempts.
This seems to be the issue with DNS returning the IP addresses of
certain servers in the CDN which might have routing issues with your
ISPs ASN. Or that particular CDN server might be at fault.
Try this:
1. nslookup/dig for destinations giving 503 errors in squid logs
2. step (1) should return multiple IP addresses. One or two of the IPs
would be the one throwing 503 errors in squid logs.
3. `curl https://<IP>` multiple times from the squid machine and see if
you get reply from each of the IPs reliably. You will identify the
problematic IP addresses and they should be the ones in squid logs
throwing 503 errors.
4. override DNS resolution for your destination domain with one of the
IPs responding every time when you did curl.
If things start working, then you might want to change your DNS from
what it is now to some other DNS.
I have faced similar problem with pinterest in the past and I had to use
DNS server of a different geographical region to receive DNS response
with CDN IPs that worked from my network's ASN.
Regards,
Nishant
More information about the squid-users
mailing list