https://discord.cloudflare.com logo
Join Discord
Powered by
# r2
  • r

    rytilu

    03/03/2023, 7:31 PM
    Do you see any obvious problems with my bucket settings?
  • s

    storm

    03/03/2023, 7:57 PM
    is it possible to get any stats or analytics on the individual objects in a bucket? or can you only see per-bucket aggregate statistics?
  • c

    computeronix

    03/04/2023, 1:07 PM
    Thanks so much will try it next test. You don’t happen to know if a brotli compressed file will be supported? That’s one of our blockers too from switching to custom domains and instead using custom cloudflare worker
  • o

    oldmanmeta

    03/04/2023, 3:01 PM
    Hi - i'm looking all over the place, but have not yet found any docs that state what a valid bucket name requirement is - at the moment I am getting an error : The specified bucket name is not valid. [code: 10005]
  • o

    oldmanmeta

    03/04/2023, 3:02 PM
    Any pointers would be really appreciated
  • u

    Unsmart | Tech debt

    03/04/2023, 4:17 PM
    Probably alphanumeric and dashes/underscores
  • s

    Sid | R2

    03/04/2023, 5:28 PM
    Alphanumeric, dashes/underscores like Unsmart said + between 3-63 characters long. The dashboard shows you this, but I guess a mention in the docs wouldn’t hurt
  • u

    ucinteractivesl

    03/05/2023, 12:52 AM
    Has anyone been able to live stream from peertube with R2?
  • o

    oldmanmeta

    03/05/2023, 4:11 AM
    @Sid | R2 @Unsmart | Tech debt Thanks both for the responses - looks like CAPITALISED names are not acceptable. Thanks for the heads up on the dashboard showing that, I'm creating buckets programmatically, so didn't look at the dashboard. Addition to the docs would be highly appreciated. Cheers
  • c

    csals

    03/05/2023, 1:12 PM
    Hi. Anyone has been able to implement R2 in flutter using aws amplify package? The Access key ID doesn't work when I try to do amplify init
  • u

    Unsmart | Tech debt

    03/05/2023, 1:18 PM
    Amplify is very AWS specific I'd assume there's a regular S3 sdk that you could use instead 🤔
  • c

    csals

    03/05/2023, 1:25 PM
    Looks like it. I used another one. It's working 🙏
  • m

    mekpans

    03/05/2023, 2:12 PM
    Hey team. I had a question about S3 compatibility with R2. I thought I saw recently that support for the PutBucketCors operation was removed since it was added in the UI (and I was indeed getting "not implemented" responses when I tried to set a CORS policy), but now it looks like it's available again through the API? Anyone have any context on that?
  • m

    mekpans

    03/05/2023, 2:52 PM
    Trying to set a policy with the AWS SDK results in
    An error occurred (NotImplemented) when calling the PutBucketPolicy operation: PutBucketPolicy not implemented
    , while on the compatibility chart I see a green checkmark next to
    PutBucketCors
  • e

    Erisa | Support Engineer

    03/05/2023, 2:55 PM
    PutBucketCors
    is supported,
    PutBucketPolicy
    is not
  • e

    Erisa | Support Engineer

    03/05/2023, 2:55 PM
    https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketCors.html https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketPolicy.html
  • u

    Unsmart | Tech debt

    03/05/2023, 3:01 PM
    Also cloudflare doesn't use AWS IAM like that so it's not possible to give another account permission to your bucket 🤔
  • u

    Unsmart | Tech debt

    03/05/2023, 3:02 PM
    I always forget AWS allows you to give S3 access to other accounts
  • m

    mekpans

    03/05/2023, 3:04 PM
    ohhhhh thank you, I did not catch that
  • m

    mekpans

    03/05/2023, 3:13 PM
    Yup, that works. Thanks for your help @Erisa | Support Engineer !
  • e

    Erisa | Support Engineer

    03/05/2023, 3:13 PM
    🙏
  • m

    mekpans

    03/05/2023, 3:15 PM
    and let me just say Cloudflare is great!
  • m

    mekpans

    03/05/2023, 3:16 PM
    big fan of the model
  • s

    Scheggia

    03/05/2023, 6:45 PM
    @Erisa | Support Engineer (sorry for ping) do you remember the problem with the redirect on R2 not working in the browser? Do you have any updates or advice on how to fix the problem?
  • e

    Erisa | Support Engineer

    03/05/2023, 6:47 PM
    I mentioned it to the right team (its not caused solely by R2, but rather conflicting with another product) and did a bit of investigation, but nothing to share so far. If you need an expedited resolution, I recommend filing a support ticket (if you have a paid plan) or a post on if you have a free plan
  • r

    Ryder Cragie

    03/05/2023, 7:01 PM
    Hi all. I'd like to cancel "R2 Storage". There's no cancel button in the Subscriptions page. How can I do this?
  • r

    Ryder Cragie

    03/05/2023, 7:02 PM
    I have no buckets set up.
  • u

    Unsmart | Tech debt

    03/05/2023, 7:02 PM
    You have to do it from the api currently but if you have no buckets you wont be billed anything
  • r

    Ryder Cragie

    03/05/2023, 7:02 PM
    How can I do it from the API please?
  • u

    Unsmart | Tech debt

    03/05/2023, 7:03 PM
    https://developers.cloudflare.com/api/operations/account-subscriptions-delete-subscription
1...930931932...1050Latest