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

CORS issues when downloading files from R2

I've configured my files from R2 to be served from: assets.mydomain.com So, fetching and displaying images on my site works as expected, for example, assets.mydomain.com/some-random-id.png ...

Another error I'm getting now is ```

Another error I'm getting now is ``` <Error > <Code >...

Hello, I have a bug report for R2 - is

Hello, I have a bug report for R2 - is this the right channel to post it?

I might be being a numpty - but has

I might be being a numpty - but has anyone got custom metadata working with presigned urls working in R2? The docs are a little light on how the custom metadata works - I'm using the recommended @aws-sdk/client-s3 And assumed it would be like - but no dice so far ```ts...

you can use presigned for GET and PUT

you can use presigned for GET and PUT but not for POST, what operation are you trying to perform?

Hi, hope you all are having good day...

Hi, hope you all are having good day... I am new to r2 and was exploring it for one of my hobby project...I am generating a presigned url from my backend (C# AWS SDK), but if I use that key for doing a PUT request, I am getting a CORS error, I explored few docs online, my API tokens does have both Read and Write admin access, and have configured CORS for the bucket...Does any one knows whether I am missing someting specifically......

R2 / Billing issue

Anyone still facing issue not able to access R2 both dashboard and api access? It telling me the bucket is deleted because if billing, but when I'm trying to pay the debt, the API returning authentication error?...
No description

sub #2

@Matt @rita please help me too. - no red bars in the dashboard. - by inspection, 'subscriptions' endpoint got 500 errors before redirect to the same page. here's the response {"success":false,"errors":[{"code":1000,"message":"Internal Server Error"}]}...
No description

Day a day and R2 is with problems...

Day a day and R2 is with problems... Please fix this problem with billing... We need our files.

Hello, I use the R2 service to store

Hello, I use the R2 service to store data and provide download links for my customers, but today I do not have access to my R2 account. After logging into the R2 management page, I received the following message: "Your subscription to R2 was previously removed. In order to access your buckets, please add the R2 subscription back to your account. To check your account's billing status, visit Billing." I then made a full payment of the remaining invoice, but my R2 service is still not functioning again. I have submitted a support ticket regarding this issue, but I believe this is a problem related to the R2 service....

R2 sub

Hi Matt, 1. Yes, I re-added R2 for so many times but every times it navigates back to this screen. 2. In billing subscription, I don't see "R2 Storage" 3. Yes, I missed a payment. And I paid 2 days ago....

That looks like a compatibility issue

That looks like a compatibility issue with running the S3 SDK on Workers, not an R2 compat issue

CORS error coming on first request, subsequent requests works

Hi team, I am using R2 to store some assets (video files) for my app. I have setup a domain for this bucket - reports.empirical.run When I access this from the same origin (let's say https://reports.empirical.run/<some-path>/<some-path>/index.html), I am immediately able to play the video. ...

1104 is a weird error to get, I would

1104 is a weird error to get, I would guess it's related to using python yea. Did you try using JS? Python's still in a beta and no packages or anything, you could try reporting that w/ some more info in #šŸpython-workers but I would guess way unrelated to r2. That median cpu time is super high too, but I suppose that's just python. I found one interesting ref that 1104 can be hitting startup cpu time, possible with python...

i know u said donā€™t ask why but why not

i know u said donā€™t ask why but why not just use cloudflares caching? its free for r2 usage

What's the account ID?

What's the account ID?

R2 programmatically create token

You need to generate via the R2 Tab -> "Manage R2 API Tokens"

Hey there!

Hey there! I've been trying to use R2 as an drop-in replacement to S3, but I've been running into some troubles. Intermittently my multipart uploads fail with the following error SignatureDoesNotMatch. I've tried to reproduce this locally and it seems like it happens when I simulate a temporary network disconnect / connect to a vpn. If I try the same reproduction steps with S3, the bug never occurs. Its making using r2 in any s3 compatible project quite flakey as a result. Any help would be greatly appreciated, please lmk if there is any more details I can provide that would help!...
Next