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

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...

I get a 200 but I always have CORS

I get a 200 but I always have CORS errors on object PUT request

has anyone seen `r2 put ` just hang I m

has anyone seen r2.put() just hang? I'm getting no errors/success or response of any kind, the promise never returns, so my call just hangs there. r2.get() is working fine. The path looks good (an existing object) and the data is a string. Actually, it finally responded with a 504 Gateway timeout. This is with wrangler dev as well as the deployed code. And it wasn't happening a couple days ago, just started last night for me. 🤷‍♂️...

Client disconnect errors

What would cause "Client Disconnect" errors from R2? I am not disconnecting so 🤔
No description

well I could also try that from my

well, I could also try that from my backend (without workers) but my experience (maybe I am just stupid) was that the file is buffered entirely due to the client uploading faster than the r2/s3 connection being build up + posted

What sort of stuff would people want in

What sort of stuff would people want in a “using R2 with Workers” guide/reference? I’m thinking: - Uploading files, both from requests to the Worker and subrequests - FormData vs streaming the body - Retrieving files, including handling httpMetadata and ETags...

~~Well my `CompleteMultipartUpload`

Well my CompleteMultipartUpload currently gets rejected with a MalformedXML error which is a good start Would help if I sent valid XML in the first place. Will see if I can replicate your error now.