Hi, is the official website <https://www.pantsbuil...
# general
h
Hi, is the official website https://www.pantsbuild.org/ working for everybody? I haven't been able to access for the last couple of days (in both Chromium based browser and Safari). It started 3~4 days ago.
f
I just accessed it on mobile (US). Are you behind a firewall?
h
No. Wasn't able to
curl
it or
ping
it either.
Also have a VPN from work, and it doesn't access it either enabled or disabled.
f
What about from another computer in your environment without the VPN? I.e., mobile phone or tablet.
h
Same behaviour.
f
Then I would start checking what upstream of you could be blocking the site.
w
Seems to work fine for me, from Firefox anyways
From chrome, can you open dev tools - are there any errors?
f
Same behaviour.
And is that with the mobile device on WiFi, or on cellular network?
h
@wide-midnight-78598 apparently there's a redirect that never succeed.
@fast-nail-55400, hit something! Was able to access through phone network. Reiterating, it's a standard home network. The only way I can think this would be blocked is through ISP (which wouldn't make sense to me since there's the VPN variable). Would you have any other ideas on how to troubleshoot this?
f
Are there proxy settings configured anywhere in your OS?
What about your router?
^^ just some questions to investigate and rule out
Where is the redirect or refusal coming from? I.e., get the IP address from the request/response in the browser or run
tcpdump
and see what is happening on the wire.
With that IP address, you might know the actor which is blocking access.
The VPN aspect is interesting since that should rule out ISP filtering.
Maybe dump your route table and see if pants-related web requests are in fact being routed over the VPN?
netstat -rn
I have no idea what is going on, and can only suggest tracking down the exact path of the web request in your system and what network actors are involved.
w
Yeah, this appears to be an isolated problem - the one sanity check I would do (as unlikely as it is), is that you're using
https
for the URL. All browsers should auto-re-direct, but 🤷 never know Otherwise, it feels like weird proxy/dns type of stuff
p
Could also try restarting your home owner. Maybe it's ignoring DNS TTL and the IP address(es) changed?
w
In the most amusing case.... Are there other sites that give you grief? I may have once, possibly,cough, accidentally gotten my IP banned from either Cloudflare or Fastly - and couldn't access any websites protected by them. I mayyyy have had to kick off an IP renewal to get it back up and running (though, a VPN should have solved that)
c
Hi. I’m having the same problem, while trying to access the website from Brazil. When asking for friends abroad to try and also by using web proxies, i can confirm that the site is up
i don’t think it is a person’s local configuration problem
w
Oh, look at that. When I set my VPN to Brazil, everything gets janky. @happy-kitchen-89482 Do you know if we have any geoblocking/firewall stuff on Cloudflare that could cause this?
It may be related to my VPN, because one of the sites I went to asked me to confirm I wasn't a bot, and now I can access pantsbuild.org again
https://www.cloudflarestatus.com/ lot of re-routes in brazil?
c
I can confirm that i’m one of the cities that are suffering from re-routes. Thanks for looking in to this!
w
fwiw, they might be red herrings - but it seems like a possible correlation 🤷
b
just to mention, I'm having the same issue, and this seems to be specific to Pants, I'm not suffering this issue on any other site
also, I've already tested on multiple providers here in Brazil, all seems to be failing (mobile as well)
w
Yeah, we'd have to check on Cloudflare to ensure nothing that does geo blocking, or automatic fencing, kicked in - but from my experience with Cloudflare failures/things - it's not 100% of traffic affected, just swathes of sites or people at a time. And, this could also be unrelated to Cloudflare and be a coincidence 🤷
Though, a funny coincidence given all the datacentre partial outages going on
Oh wow, there was something pretty big a few weeks ago! https://blog.cloudflare.com/cloudflare-1111-incident-on-june-27-2024
h
Eeep
We shouldn't have any cloudflare settings to trigger this, but I'll double check
Nope, can't see anything
those reroutes are suspicious
Is this still happening?
c
Yes. Btw, I first noticed them Thursday last week.
it is back for me now
b
not for me 😞
c
actually, for me it loaded once and it was gone again
h
Fascinating!! I'm from Brazil as well. Wouldn't imagine this.
Also started happening Thursday last week. Too much of a coincidence.
b
hey! No updates on this? I mean, the site off is okay, but the biggest issue is that we can't even download Pants anymore
so, I'm not being able to locally build any of my Docker images, since they need to download pants
w
Well, today, looks like most of the internet is down - thanks Cloudstrike... How are you downloading Pants in docker?
b
@wide-midnight-78598 I'm using this command
curl --proto '=https' --tlsv1.2 -fsSL <https://static.pantsbuild.org/setup/get-pants.sh> | bash
😄
on my
Dockerfile
w
Okay, so I'm going to try my hardest to stay away from my
rustup
script style rants so that I can be useful to you 🤐 I've attached the script here, can you take a read through and grab the pants you need directly from GH for now to unblock yourself?
Copy code
ARCH="$(calculate_arch)"
URL="<https://github.com/pantsbuild/scie-pants/releases/${version}/scie-pants-${OS}-${ARCH}>"
Additionally, here is the brew script for Homebrew, so you can see how it works there: https://github.com/pantsbuild/homebrew-tap/blob/main/Casks/pants.rb Functionally, it all comes down to figuring out which version to grab from Github
My guess is that you want
scie-pants-linux-aarch64
or
scie-pants-linux-x86_64
- that's basically all the script does https://github.com/pantsbuild/scie-pants/releases (And then, naturally, it'll need to be on a path, or renamed, made executable - the standard stuff)
b
thank you very much, I'll try using it 🙏