International users not able to fetch from R2 bucket?

I have a few users that are failing to fetch from R2 bucket. It works for them through USA vpn. How can i resolve this?
10 Replies
Hard@Work
Hard@Work2mo ago
What country are they from? What error are they getting?
appsicle
appsicleOP2mo ago
India and Spain. Getting a failed to fetch error on web browser when they try to fetch the file after uploading a file Sorry, any other details i can provide to help? I'm not sure if i have the exact error log but I can try to find it basic flow is i have just 1. get signed URL 2. upload an mp3 or mp4 file 3. fetch the uploaded URL to sync with application state. Works for thousands of users except a couple cases from International
Hard@Work
Hard@Work2mo ago
With India, there is an ISP that likes to block the S3-compatible endpoint for some reason. I haven't seen any reports from Spain, but it might be similar Are you able to see if there is some kind of status code? Does it fail to connect entirely?
appsicle
appsicleOP2mo ago
The indian user is using JOI isp if that helps From my interaction with user, it did not even make a network rqeuest? or did not get a response* i could be wrong, i didn't get to extract actual browser logs i do have a worker proxy setup over R2, if that helps
Hard@Work
Hard@Work2mo ago
Yeah, that's the one, Jio has had issues for a while You might be able to run it via Workers/a custom domain. That shouldn't be blocked
appsicle
appsicleOP2mo ago
:/ is there any workaround? the problem is i need to support MP4 video range requests, i believe thats only supported through worker proxy
Hard@Work
Hard@Work2mo ago
Custom Domains should be able to do Range requests? Though for larger files, you may need to disable cache
appsicle
appsicleOP2mo ago
and just to clarify, pointing a custom domain name over my worker proxy is not the same as pointing an R2 bucket directly at a custom domain? I currently am setup with the former subdomain "assets.website.com" -> worker proxy -> R2
Hard@Work
Hard@Work2mo ago
Your way should work too, but it also incurs a Worker request
appsicle
appsicleOP2mo ago
hmm ok, is this just something the user needs to work out with their ISP then?

Did you find this page helpful?