Lionblade
CDCloudflare Developers
•Created by brunub on 6/11/2023 in #general-help
r2 CORS problem
3. Purge and Clear all cache for your site in R2
4. CLear your Browser's history. Clear everything / all cache etc
5. Hopefully it then works for you as it does for me
31 replies
CDCloudflare Developers
•Created by brunub on 6/11/2023 in #general-help
r2 CORS problem
2. Set your CORS policy to
31 replies
CDCloudflare Developers
•Created by brunub on 6/11/2023 in #general-help
r2 CORS problem
I had to do two things, but I am not sure why R2/Cloudlfare make it so hard.
1. Add a rule (called something like CORS Fix) to Transfrom Rules
Set it to Modify Response Header
"If... (custom filter expression) Hostname contains (your host name as the value)
Then.... "Vary" (for header name) =
Access-Control-Request-Headers, Access-Control-Request-Method, Origin
for Value
Place at: First
31 replies
CDCloudflare Developers
•Created by brunub on 6/11/2023 in #general-help
r2 CORS problem
To anyone else having this issue, I finally fixed it.
31 replies
CDCloudflare Developers
•Created by brunub on 6/11/2023 in #general-help
r2 CORS problem
(Unless I turn off disable cache)
31 replies
CDCloudflare Developers
•Created by brunub on 6/11/2023 in #general-help
r2 CORS problem
Again, everything works fine when the console is open in Chrome.
31 replies
CDCloudflare Developers
•Created by brunub on 6/11/2023 in #general-help
r2 CORS problem
Still cannot track this down. Would really appreciate some support. CORS issues persist in all Chrome/Chromium/Edge browsers, but not Firefox.
31 replies
CDCloudflare Developers
•Created by brunub on 6/11/2023 in #general-help
r2 CORS problem
Very strange, I’ll keep digging, but the only extension I’m using is Adblock. Not sure why that’d cause it
31 replies
CDCloudflare Developers
•Created by brunub on 6/11/2023 in #general-help
r2 CORS problem
Any thing else I can try? It is odd that it works fine with my setup for Firefox but not Chrome, no?
31 replies
CDCloudflare Developers
•Created by brunub on 6/11/2023 in #general-help
r2 CORS problem
(Same issue in Edge, which I think is Chromium based.)
31 replies
CDCloudflare Developers
•Created by brunub on 6/11/2023 in #general-help
r2 CORS problem
Also I did try setting Transform Rules per that thread above, but I am not sure if I did it right. Error persists in Chrome
31 replies
CDCloudflare Developers
•Created by brunub on 6/11/2023 in #general-help
r2 CORS problem
I'd really like Chrome to work 😦
31 replies
CDCloudflare Developers
•Created by brunub on 6/11/2023 in #general-help
r2 CORS problem
Chrome still has the issue. Firefox seems okay, that is very werid
31 replies
CDCloudflare Developers
•Created by brunub on 6/11/2023 in #general-help
r2 CORS problem
Maybe I need to clear cache
31 replies
CDCloudflare Developers
•Created by brunub on 6/11/2023 in #general-help
r2 CORS problem
Yep super weird, Chrome still has the issue
31 replies
CDCloudflare Developers
•Created by brunub on 6/11/2023 in #general-help
r2 CORS problem
Let me try Chrome
31 replies
CDCloudflare Developers
•Created by brunub on 6/11/2023 in #general-help
r2 CORS problem
I did, but, oddly enough, I can't reproduce in Firefox now. Hmm
31 replies
CDCloudflare Developers
•Created by brunub on 6/11/2023 in #general-help
r2 CORS problem
Correct! It is very weird
31 replies
CDCloudflare Developers
•Created by brunub on 6/11/2023 in #general-help
r2 CORS problem
This thread highlights others having issues for over a year and still having issues. R2 CORS is broken.
31 replies