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

    Cоlе

    04/19/2023, 7:06 AM
    Sig4 is beyond complicated. I tried 2 different 100+ line bash scripts, and I couldn't get either of them to give a valid payload signature
  • c

    Cоlе

    04/19/2023, 7:06 AM
    I ended up just giving up and using rclone 😰
  • s

    Sid | R2

    04/19/2023, 10:02 AM
    Yeah writing your own Sigv4 implementation is usually not a good use of time 😄
  • k

    kian

    04/19/2023, 10:03 AM
    curl has a sigv4 arg and it just simply doesn't work with S3
  • k

    kian

    04/19/2023, 10:03 AM
    🥴
  • z

    Zeblote

    04/19/2023, 7:32 PM
    ask gpt-4 to write the script
  • z

    Zeblote

    04/19/2023, 7:33 PM
    give it the spec of what sigv4 needs to do
  • z

    Zeblote

    04/19/2023, 7:33 PM
    might work lol
  • when binding r2 in development will it
    i

    importmath

    04/20/2023, 5:02 AM
    when binding r2 in development will it also be "local-storage scoped" like KV or it could access remote data too?
    e
    s
    • 3
    • 10
  • l

    Lloyd

    04/20/2023, 5:54 AM
    I have bucket size issue with my bucket there are planty of files in my bucket but summary and metrics shows me 0b of bucket size
  • Fly.io <> R2
    c

    chientrm

    04/20/2023, 6:28 AM
    download speed from R2 to
    fly.io
    is sad 🤔
    s
    • 2
    • 43
  • c

    chientrm

    04/20/2023, 6:28 AM
    It's supposed to be ~50MB/s 🤔
  • s

    Sid | R2

    04/20/2023, 10:03 AM
    These metrics can lag behind for about an hour. If you just uploaded these files, that may be it.
  • I have this issue has been going on for
    l

    Lloyd

    04/20/2023, 10:06 AM
    I have this issue has been going on for a week. The file has been uploaded at least up to 2 days ago. Is this normal? Will my payment be not affected?
    s
    • 2
    • 1
  • k

    kian

    04/20/2023, 3:14 PM
  • k

    kian

    04/20/2023, 3:14 PM
  • a

    Arthur

    04/20/2023, 4:30 PM
    Is there any rust library for the r2 db? Or should you use the rust_s3 pkg?
  • s

    Skye

    04/20/2023, 4:32 PM
    R2 is s3 compatible, so any S3 library should work 🙂
  • h

    Harshal

    04/20/2023, 4:45 PM
    Thanks for the preview there @kian 😄
  • h

    Harshal

    04/20/2023, 4:47 PM
    🎉 Object Lifecycles UI is available now The UI to configure lifecycle rules is under the bucket settings page. The UI supports configuring rules that you'd be able to configure with the R2 S3 API currently. (https://developers.cloudflare.com/r2/buckets/object-lifecycles/) You can set up lifecycles to delete your objects by a particular date/object age. For multipart uploads you can specify a rule to abort them by the age of the upload. By default we have a 7 day multipart abort rule. You can also restrict the rule to apply on only objects/uploads that match a certain prefix. There is some more detail in the documentation around the behavior of lifecycles.
  • e

    Erisa | Support Engineer

    04/20/2023, 4:47 PM
    @User 👀
  • e

    Erisa | Support Engineer

    04/20/2023, 4:48 PM
    Very pretty
  • d

    denchi

    04/20/2023, 4:48 PM
  • d

    denchi

    04/20/2023, 4:48 PM
    Awesome!!
  • d

    denchi

    04/20/2023, 4:48 PM
    All my rules are there 🙏
  • d

    denchi

    04/20/2023, 4:50 PM
    Very clean indeed.
  • c

    chumbalaya

    04/20/2023, 8:10 PM
    Hey folks - I'm trying to access a video URL from a R2 bucket. But I'm getting CORS issues despite supposedly allowing for my local environment. Any guidance on debugging this?
  • c

    chumbalaya

    04/20/2023, 8:26 PM
    no workers btw just trying to simply pull an image url
  • u

    Unsmart | Tech debt

    04/20/2023, 8:27 PM
    You should use public buckets for exposing items as a url. Also never put your R2 access keys in a frontend application it will allow anyone to upload, get, and delete anything they want
  • c

    chumbalaya

    04/20/2023, 8:36 PM
    Understood - thanks!
1...995996997...1050Latest