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

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

Our prod code got this unexpected R2

Our prod code got this unexpected R2 error for the first time ever in the last hour or so:
Warning: Error executing "GetObject" on "https://SNIP.r2.cloudflarestorage.com/downloadprod/SNIP/SNIP.png"; AWS HTTP error: Client error: GET https://SNIP.r2.cloudflarestorage.com/downloadprod/SNIP/SNIP.png resulted in a 499 Client Error response (client): 499 Client Error - <?xml version="1.0" encoding="UTF-8"?><Error><Code>Unexpected</Code><Message>Client Disconnect</Message></Error>
Warning: Error executing "GetObject" on "https://SNIP.r2.cloudflarestorage.com/downloadprod/SNIP/SNIP.png"; AWS HTTP error: Client error: GET https://SNIP.r2.cloudflarestorage.com/downloadprod/SNIP/SNIP.png resulted in a 499 Client Error response (client): 499 Client Error - <?xml version="1.0" encoding="UTF-8"?><Error><Code>Unexpected</Code><Message>Client Disconnect</Message></Error>
...

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?

WebDrive WebDAV Client that Maps Network...

I use WebDrive 2019 and love it for mounting various online services, but I haven't been able to get it to work with R2 for some reason. They have a new one called WebDrive NextGen, maybe it will work. https://webdrive.com/

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