Cloudflare Developers

CD

Cloudflare Developers

Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news

Join

Hey we tested R2 uploads with same

Hey, we tested R2 uploads with same instance compared to S3 and DO Spaces, R2 seems significantly slower (about 500ms to S3 and DO's 100ms) is there any way to get around this?

Heya I m trying to use pre signed POSTs

Heya, I'm trying to use pre-signed POSTs with R2 to have users directly upload images to my bucket. Thanks to some posts here I have the CORS portion working fine, but when now when I attempt the upload I get back a 400 with Invalid Argument: Authorization. Am I supposed to be putting something in the Authorization header? Appreciate any help, will post the entire request log in a thread

Because as Kian mentioned the SPA does

Because as Kian mentioned the SPA does not have a server so the cors approach would never really work as the 'client' can't really respond (if i got it correctly)

Has there been any R2 releases within

Has there been any R2 releases within the past week that change the SigV4 side? I don't actually think aws4fetch's presigned URLs work anymore.

You can store and serve anything you

You can store and serve anything you want on R2. There are some automatic mitigations in place specifically for video that might hit you so you could message support to try and ensure you wont get hit by that 🤷

R2 errors

Interesting 🤔 not sure if anyone else monitors a lot of data like me when it comes to R2 but if anyone does just curious if you also notice starting 12/13 the error rate as risen a bit from what it used to be

Presigned POST no

Presigned POST, no Presigned PutObject, yes...

There ll be a debug or logger option for

There'll be a debug or logger option for basically all of the SDKs

A significant number of users are

A significant number of users are reporting they can't reach one of my R2 connected domains. I had some of these people visit https://www.cloudflare.com/cdn-cgi/trace and almost all of them are in colo=GRU or colo=BSB. Has anything happened in the Brazil region recently with Cloudflare or R2?

it will fit because that zone is

it will fit because that zone is enterprise, but i dont think it is because its a .bin, but i will check now

R2 has no notion of snapshots right now

R2 has no notion of snapshots right now, and also it's all hot file storage (which is more expensive). It's probably not a good place to put backups you infrequently access

What does the R2 upload code look like

What does the R2 upload code look like?

Pages & R2

It is third day and am still struggling to implement a simple mechanism for uploading a file using pages and functions. Good news is that I have progressed a little since two days ago. Everything seems to work locally when I test file uploading from postman but not working on internet when I deploy the app. What could be a probable reason for this bug? Attached are screens of code snippets both for handling the submit event on the client and processing the request in the function. Env variable i...
No description

Hi

Hi this bug could only reproduce by upload the exact files I uploaded. because it not caused by 按照RJ号命名的作品 but the files in it....

Essentially we are looking to migrate

Essentially, we are looking to migrate from DigitalOcean Spaces to CF's R2, but we have some essential issues with the reliability or R2. @sdnts How do you recommend we proceed?...

but I do have this dangling DNS record

but I do have this dangling DNS record just left over that's not attached to any specific bucket

Even if it was 9am this channel isn t

Even if it was 9am this channel isn't going to be their first priority. This is a when they have time kinda thing. For actual guaranteed support for reporting issues you would need a paid plan that includes such. But they do monitor issues here and plenty of people here can escalate things if they need to be

Bucket of bricks

I have a tool that lets me use S3 backups, so I tried using R2 in its place. It uploaded almost the full file (streaming, I think) and then failed because of some Etag stuff (I imagine this is just a known incompatibility). That's fine though, the real issue is now my bucket has the almost-complete file, but since it never finished, it doesn't show up in the file listing so I can't delete it. This means I also can't delete the bucket, so I essentially bricked my bucket...