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

I already try then cursor freezes and no

I already try then cursor freezes and no progress to show ,in cloudflare same storage used

Hello Unless I m missing something

Hello! Unless I'm missing something obvious, I'm pretty sure I'm running into an R2 bug. I'm using a token with "Object Read & Write" permissions and get AccessDenied when using rclone to write an object to the bucket. I know I have the access id & secret key correct because as soon as I switch the token permissions to "Admin Read & Write" privileges, it starts working and rclone will correctly write new objects to the bucket. When I switch it back, it stops working again. What I'm doing is very simple: ``` sergey@ark ~> echo Hello World > myfile.txt...

Concurrency limits

Ya... the setup is 2 buckets. One for the public stuff (and it is indeed accessed directly on a public domain and optimized appropriately with Cache Rules and Tiered Cache). That's for things intended to be public (things like user avatars). The private bucket that is accessed via the API is the one he's having a problem with. The objects there are accessed via the API because the ability to view/download those are user permission based. The application checks for the appropriate permissions for the user that's logged in and then passed it through as necessary based on the permissions. He isn't doing a crazy amount of traffic or anything... he's at ~19M class B operations this month across all his buckets. The issue here is with the private bucket... since it's user permission based, the object is passed through via API. It's no where remotely close to 1,000 concurrent read operations even across all objects/users, I'd guess maybe it peaks around 10ish....

Presigned URLs

I need some help -- I'm trying to generate a presigned upload URL with R2 and I keep getting this error: "The request signature we calculated does not match the signature you provided. Check your secret access key and signing method." My go code is as follows:...

CORS

Have been getting 403 [Error] Origin http://localhost:3000 is not allowed by Access-Control-Allow-Origin. Status code: 403 when trying to PUT to a signedUrl generated from the S3 api I'm building it this way:...

S3 API to get R2 file content

I would like to use the S3 PHP API to get the results from Cloudflare logpush. I can successfully list the objects with $client->listObjects(...). However if I want to get the content of an object with $client->getObject([ 'Bucket' => self::BUCKET_NAME, 'Key' => $object['Key'] ]);...

R2 - S3

HI everybody! Could somebody send me a simple curl example to list R2 buckets thriough S3 API. I've never used S3 and I have no idea how to to do it.

Hello anyone know how to remove domain

Hello, anyone know how to remove domain from R2? I need to use it on other bucket...but can't remove from existing. The domain was added by R2. When I try remove from DNS even, it just sends me back here.......

and its still running out of cpu time

and its still running out of cpu time

Subatic

Can someone help me CORS issue? Here is a test page : https://subatic.com/test It works fine on chrome/safari but NOT on firefox. (See network logs) @bonsaye does your issue persists in firefox? Can you test? ...

That s how all API tokens work in

That's how all API tokens work in Cloudflare, they're all associated to the user that created them.

Thats rather simple You split up the

Thats rather simple. You split up the file in chunks on the client and send it one by one

Which is super super strange I know

Which is super super strange, I know

Really I ve been using R2 for 4 months

Really? I've been using R2 for 4 months and this is the ONLY downtime i've ever had in that 4 months

Express ish Next js API routes

Express-ish, Next.js API-routes

Hello I m trying to upload a file with a

Hello, I'm trying to upload a file with a pre-signed URL to R2 using the browser and I'm getting a 403 CORS error. Does anyone know how to solve this problem? My CORS policy: [ { "AllowedOrigins": [...

Hi i m trying to create a bucket through

Hi, i'm trying to create a bucket through command line: wrangler r2 create bucket NAME and I'm getting a ``` ⛅️ wrangler 3.1.1 ------------------ Creating bucket NAME. ...

I m getting really slow download speeds

I'm getting really slow download speeds from R2 directly from the s3 endpoint. It's taking 2000ms to pull 2 1kb parquet files, which should be like 50ms. Is there anything I can check? For example testing with minio I get them in 50ms.