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

    oldmanmeta

    04/30/2023, 4:30 PM
    So with an R2 bucket, I found it really easy to bind a custom domain to it - is the same thing available for Workers and I am just not seeing it?
  • o

    oldmanmeta

    04/30/2023, 4:31 PM
    yep - i'm a clown
  • a

    Aiden

    04/30/2023, 6:13 PM
    Any plans to expand the r2 migrator to be able to migrate from one r2 bucket to another? I'd like to take advantage of location hints, since my bucket is pretty far from my origin right now, giving me some higher than ideal latency, location hints fixes that!
  • e

    Erisa | Support Engineer

    04/30/2023, 6:23 PM
    I always used rclone for this purpose, where possible it will make use of server-side copying which is significantly faster and more efficient than doing it locally
  • Need some help So we are planning to put
    s

    Skye

    05/01/2023, 7:41 PM
    Don't tag people for help please
    r
    • 2
    • 2
  • h

    harris

    05/01/2023, 8:18 PM
    Is it possible to change the content-disposition filename when I generate a pre-signed GET? I'm storing user files via a UUID, but what them to download with their original name
  • k

    kian

    05/01/2023, 8:23 PM
    response-content-disposition
    as a query parameter.
  • p

    Plotzes

    05/01/2023, 9:17 PM
    i always get this error with rclone, do i really always need to pass
    --s3-list-version 1
    because that's pretty annoying and i always forget
  • k

    Karew

    05/01/2023, 9:23 PM
    When you set up your remote, Rclone has a specific provider option for R2 on the latest versions, did you use that?
  • k

    Karew

    05/01/2023, 9:23 PM
    i.e., don’t set up a generic S3 connection, set up an R2 connection
  • p

    Plotzes

    05/01/2023, 9:23 PM
    i just used the rclone example from the docs
  • p

    Plotzes

    05/01/2023, 9:23 PM
    so i guess the
    type = s3
  • p

    Plotzes

    05/01/2023, 9:23 PM
    should be
    type = r2
    now?
  • p

    Plotzes

    05/01/2023, 9:26 PM
    hmm that doesn't work for me, sadly i get
    Failed to create file system for "r2:mc-players": didn't find backend called "r2"
  • p

    Plotzes

    05/01/2023, 9:26 PM
    ill see if i can update my rclone
  • k

    kian

    05/01/2023, 9:29 PM
    type = s3
    and
    provider = Cloudflare
    is correct
  • k

    kian

    05/01/2023, 9:29 PM
    historically it was just
    provider = Unknown
  • p

    Plotzes

    05/01/2023, 9:29 PM
    yeah i had that, but now i updated rclone and suddenly the error is gone
  • p

    Plotzes

    05/01/2023, 9:29 PM
    without changing the config
  • p

    Plotzes

    05/01/2023, 9:29 PM
    so i guess that fixed it
  • p

    Plotzes

    05/01/2023, 9:29 PM
    ¯\_(ツ)_/¯
  • k

    kian

    05/01/2023, 9:30 PM
    looks like https://github.com/rclone/rclone/commit/6c407dbe15f933f30df0f94daad0799e14e09c71
  • k

    kian

    05/01/2023, 9:31 PM
    so 1.62.2
  • p

    Plotzes

    05/01/2023, 9:31 PM
    yeah it updated to smt 1.62.X so i guess that was it
  • e

    Erisa | Support Engineer

    05/01/2023, 9:42 PM
    yeah rclone versions other than the latest few tend to not work too nicely with r2
  • e

    Erisa | Support Engineer

    05/01/2023, 9:43 PM
    always good to use latest rclone when dealing wiith r2, and to update it when you have errors
  • k

    Kn0ax

    05/01/2023, 11:36 PM
    Have a quick question why R2 generates a new ssl cert instead of using same wildcard certificate created by cloudflare
  • k

    Kn0ax

    05/01/2023, 11:38 PM
    Or why doesn't create a new wildcard cert which not exposes the subdomain?
  • h

    HardAtWork

    05/02/2023, 6:16 AM
    That’s because it is part of the custom domains pipeline(also used by Pages and Workers). It spawns its own cert to be able to be used even if you don’t have NS on CF
  • j

    jbenguira

    05/02/2023, 10:50 AM
    Hello is there an api to get total size of a bucket and number of operations? Maybe a billing api?
1...100610071008...1050Latest