502 bad gateway
If you are still seeing this, please report the IP packagist.org resolves to for you. It makes investigating a lot easier.
54.39.172.221
$ host packagist.org
packagist.org has address 142.44.164.249
packagist.org has IPv6 address 2607:5300:201:2100::7:2273
Edited my hosts file for now…
Thanks for the help!
I should've just did a dig @1.1.1.1 as I usually do when a site is not working properly. I do have Pi-hole on my network, but I have no idea why it resolved to the previously mentioned IP address... I will investigate.
@jaykepeters what do you mean edited your host file? Also where did 54.39.172.221 come from? I don't see this IP at all in our servers..
As for 142.44.164.249 @allejo it seems to work all fine?
I added the 142.x.x.x IP to my hosts file to bypass my local dns resolver so that the web site displays properly. I will get back to you with the source.
The website now works fine.
I was using 1.1.1.1 for my DNS and I kept getting 502s intermittently. Used my regular DNS instead and it seems to be resolving for me now.
It seems that some public DNS resolvers are reporting 54.39.172.221 as the IP address of packagist.org, including 1.1.1.1 instead of 54.39.172.221. You can request a domain to be cleared from Cloudflare's cache, but if it's wrong at Cloudflare or Google DNS, something is definitely wrong. See here: https://www.whatsmydns.net/#A/packagist.org
Ok found one node with a problem - 54.39.179.221 - which is the latest mirror I added and forgot to add it to some other list so I didn't find the issue earlier. I fixed that one and I hope all is back to normal now.
I still don't see 54.39.172.221 (note 179 vs 172 is the third bit) anywhere.. not in our IP list, and not on https://www.whatsmydns.net/#A/packagist.org - I don't know where you got that IP from.
I think that was a typo
I still don't see 54.39.172.221 (note 179 vs 172 is the third bit) anywhere.. not in our IP list, and not on https://www.whatsmydns.net/#A/packagist.org - I don't know where you got that IP from.
Most helpful comment
Ok found one node with a problem - 54.39.179.221 - which is the latest mirror I added and forgot to add it to some other list so I didn't find the issue earlier. I fixed that one and I hope all is back to normal now.
I still don't see 54.39.172.221 (note 179 vs 172 is the third bit) anywhere.. not in our IP list, and not on https://www.whatsmydns.net/#A/packagist.org - I don't know where you got that IP from.