R2 bucket URL DNS resolution failures
Im using r2 bucket to store Image files. Some of my users are reporting that Images are not loading for them, on further debugging I see that DNS resolution for "<bucketId>.r2.cloudflarestorage.com" is failing with "(failed)net::ERR_NAME_NOT_RESOLVED". When i hit r2.cloudstorage.com in my browser as well I get
1. ❌ "DNS_PROBE_FINISHED_NXDOMAIN" response when connected to my wifi
2. ✅ R2 documentation when connecting via my Sim internet.
Somebody had reported this issue before as well(https://community.cloudflare.com/t/cloudflarestorage-com-is-blocked-by-major-indian-isps/619151), but I dont see a clear explanation or resolution relevant today.
This seems really strange given the size at which cloudflare is operating! Idk if this is a explicit strategic move from cloudflare or a miss from their side.
Im looking for suggestions to fix this, please do let me know if you guys have any fix in mind
11 Replies
What is your ISP?
Some ISPs/Governments like blocking R2 domains
My wifi is coming from Jio and my SIM is in Airtel
Yeah, that’s it. Jio likes to break R2 some times.
I think you can get around it by using a different DNS provider
I tried that too, I moved from porkbun to cloudflare for DNS resolution, but that still didnt help
No, I meant switch the DNS resolver on your device
Im not sure what you mean by that. Also if its something specific to my laptop I cant expect my user base to make those changes :/
Yeah, sadly until Jio stops dropping the ball, your only real way around it is to handle uploads yourself, via a backend/Workers
thats really disappointing, Im not sure why cloudflare isnt doing anything about this.
Ill see if anybody else has some jugaad for this
We are investigating, but if a block is on the ISP’s side, there isn’t a whole lot we can do
gotcha! thanks alot for looking into this. Btw for folks who come to this chat looking for answers, I moved the files to my server where im running a docker minio container with a sync job pushing files to cloudflare for backup
Hello @Hello, I’m Allie! I am also facing the same issue how can i resolve this issue