Kyle @ KyTech
Explore posts from serversCDCloudflare Developers
•Created by Kyle @ KyTech on 4/25/2024 in #general-help
R2 Files loading Blank Page
That would be awesome, thanks for taking the time on this!
41 replies
CDCloudflare Developers
•Created by Kyle @ KyTech on 4/25/2024 in #general-help
R2 Files loading Blank Page
I did also find this forum post after searching for the % slash term with R2. very recent and looks like they are aware of this issue and working on it. This also points to this being a more recent issue which lines up with the timeline.
https://community.cloudflare.com/t/r2-keys-with-multiple-slashes-in-key-require-url-encoding-or-it-404s/641375/4
41 replies
CDCloudflare Developers
•Created by Kyle @ KyTech on 4/25/2024 in #general-help
R2 Files loading Blank Page
ah ok ya that makes sense
41 replies
CDCloudflare Developers
•Created by Kyle @ KyTech on 4/25/2024 in #general-help
R2 Files loading Blank Page
no its not the exact same but maybe i will try an upload there to test. I just know that for all files in either account the dashboard always has shown the % slashes and then it always converted fine.
41 replies
CDCloudflare Developers
•Created by Kyle @ KyTech on 4/25/2024 in #general-help
R2 Files loading Blank Page
41 replies
CDCloudflare Developers
•Created by Kyle @ KyTech on 4/25/2024 in #general-help
R2 Files loading Blank Page
41 replies
CDCloudflare Developers
•Created by Kyle @ KyTech on 4/25/2024 in #general-help
R2 Files loading Blank Page
Ya i have another bucket for PDF docs so single files and they work fine.
41 replies
CDCloudflare Developers
•Created by Kyle @ KyTech on 4/25/2024 in #general-help
R2 Files loading Blank Page
in prod or even dev I will be grabbing these links via the R2 API or Cf workers so i don't think it will be an issue but this weirdness was stopping me from even starting that lol
41 replies
CDCloudflare Developers
•Created by Kyle @ KyTech on 4/25/2024 in #general-help
R2 Files loading Blank Page
I only have 2 folders right now for testing and i just tried both and they work with the swap
41 replies
CDCloudflare Developers
•Created by Kyle @ KyTech on 4/25/2024 in #general-help
R2 Files loading Blank Page
ya, i have had a few weird things happen with links from there but nothing like this and nothing that stays after multiple refreshes, relogs, etc
41 replies
CDCloudflare Developers
•Created by Kyle @ KyTech on 4/25/2024 in #general-help
R2 Files loading Blank Page
41 replies
CDCloudflare Developers
•Created by Kyle @ KyTech on 4/25/2024 in #general-help
R2 Files loading Blank Page
hmm, interesting, I still feel like this is a change or bug on R2 side cause like i said i had files uploaded (same type of folder setup) which were working that allt he sudden stopped working. Then all future uploads like this have this same issue. I've tried uploading with multiple S3 clients or cli's and on Mac and windows so i don't think all of those are messing with the slash direction?
only thing i can think of outside of a bug with our R2 tenant is a setting in CloudFlare for the custom domain thats used that is changing those paths? Maybe the URI formatting, could that do it?
41 replies
CDCloudflare Developers
•Created by Kyle @ KyTech on 4/25/2024 in #general-help
R2 Files loading Blank Page
Sure, heres the link of the broken folder: https://lmsfiles.aesi-inc.com/lms-test-rise-3%2Fcontent%2Findex.html
Here for reference is the same folders/files on Linodes S3: https://acumen-training.us-east-1.linodeobjects.com/how-to-protect-your-data/content/index.html
Thanks for following up and having a look!
41 replies
CDCloudflare Developers
•Created by Kyle @ KyTech on 4/25/2024 in #general-help
R2 Files loading Blank Page
ya for sure, using "folder" as a general term. And yes I have tried that, as far as a i can tell the individual files load but it is hard to tell if they are working correct since they are things like .css .js and .wolf files for elements that get referenced in an online training package output that I don't control. Its standard practice to store and deliver these packages via S3 storage and for over a year I had done that via S3 and R2 for the last 6 months or so.
The odd thing is the package (folder) I uploaded 6 months ago that had been working just stopped, which is what caused me to delete and try re-uploading and thats where im at lol. Again Linodes S3 has continued to work the whole time including new uploads so it was my guess that something about the R2 config had changed at least in someway.
41 replies
CDCloudflare Developers
•Created by Kyle @ KyTech on 4/25/2024 in #general-help
R2 Files loading Blank Page
Hey, so far I haven't been able to get things working. Or at least working in a way like they were before with R2. I got all the rsync commands going but like you said there probably wasn't a need for that. I've resorted to using Linodes S3 obj storage for now as that seems to work with the same folders and same rsync upload cmd (plus needing to set files to public read). But for now I can't get those files to render and get 404 or 400's for select files in the folder structure when loading the index.html file.
It also seems like the folder or url/i path is not translating correctly from the root R2 domain to where these files are actually sitting with the R2 folder structure. Not sure if others have had something similar?
41 replies