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

    Erisa | Support Engineer

    02/27/2023, 3:59 PM
    A few people are, its a known issue at the moment that stats are inconsistent. Your billed amount should reflect the real storage value, and if it doesnt then please put in a support ticket immediately so we can correct it
  • p

    piero

    02/27/2023, 4:00 PM
    Got it, thanks!
  • s

    Sid | R2

    02/27/2023, 6:15 PM
    Hey, it is. Creating a support ticket is probably the best way to get it escalated properly!
  • e

    elithrar

    02/27/2023, 9:53 PM
    I've also updated the docs to make the intricacies of the
    Origin
    header a bit clearer: https://developers.cloudflare.com/r2/learning/cors/#common-issues
  • b

    BrammyS

    02/27/2023, 11:17 PM
    Same here
  • u

    ucinteractivesl

    02/28/2023, 12:44 AM
    Recently I asked here about the chance of using R2 to host and stream videos and the answer I got from someone from support is yes, that I can stream videos from R2. But I also heard about someone which got a ban from cloudflare with this alert "This videos has been restricted. Streaming video from Cloudflare basic service is a violation of the Terms of Service"
  • u

    ucinteractivesl

    02/28/2023, 12:45 AM
    Can anyone let me know if it is allow to stream videos from R2 finally?
  • z

    Zeblote

    02/28/2023, 12:45 AM
    https://discord.com/channels/595317990191398933/940663374377783388/1079063747726950400
  • k

    kian

    02/28/2023, 12:47 AM
    You might get a ban but if you do, contact support & they can lift it.
  • u

    ucinteractivesl

    02/28/2023, 12:55 AM
    I just had a look at this info https://support.cloudflare.com/hc/en-us/articles/360057976851-Delivering-Videos-with-Cloudflare
  • u

    ucinteractivesl

    02/28/2023, 12:55 AM
    They don`t mention anything about using R2 to deliver videos, only about using Stream. I tried stream for a couple of days and it is quite expensive. I spent 250€ only in 1 day of testing with a few websites
  • e

    Erisa | Support Engineer

    02/28/2023, 12:56 AM
    (i should note the page says it was last updated 2 years ago)
  • u

    ucinteractivesl

    02/28/2023, 12:56 AM
    Ok
  • u

    ucinteractivesl

    02/28/2023, 12:57 AM
    I`m just afraid of getting a violation alert while my sites are working with the service, this is the last thing I want
  • u

    ucinteractivesl

    02/28/2023, 12:58 AM
    So far I didn´t find any clear answer in Cloudflare website about it
  • k

    kian

    02/28/2023, 12:59 AM
    Unfortunately, messages like the one that Zeblote linked is as good as it gets right now.
  • u

    ucinteractivesl

    02/28/2023, 12:59 AM
    I see
  • k

    kian

    02/28/2023, 1:00 AM
    The terms taken at face-value say: > (iv) Workers KV, Durable Objects, and R2, storage offerings used to serve HTML and non-HTML content.
  • k

    kian

    02/28/2023, 1:00 AM
    That can be taken to say that video is okay, but doesn't say that you can use Cloudflare's cache on top.
  • k

    kian

    02/28/2023, 1:00 AM
    You'll see messages from management on Discord and Twitter stating that using cache is fine though.
  • u

    ucinteractivesl

    02/28/2023, 1:00 AM
    non-HTML content includes videos
  • k

    kian

    02/28/2023, 1:00 AM
    If that suits your risk profile, then go for it.
  • u

    ucinteractivesl

    02/28/2023, 1:01 AM
    Clouflares CDN on top depends on the type of class operations that you are developing
  • u

    ucinteractivesl

    02/28/2023, 1:02 AM
    Depending on class A or B
  • u

    ucinteractivesl

    02/28/2023, 1:03 AM
    I´ll give a try and contact support while working with R2 live
  • d

    dizzypete

    02/28/2023, 4:57 AM
    does anyone know if you can do a boto3 s3.copy_object from a bucket in one provider (say aws) to a different provider (say cloudflare)? i dont think u can because u would need an authenticated session for each provider, i tried using presigned get_object url for the aws object but no bueno. so i want to go r2bucket.copy_object(s3_bucket, s3_key, new_key_in_r2), like a put_object where instead of bytes its a presigned url
  • d

    dizzypete

    02/28/2023, 4:58 AM
    i dont have to use presigned urls, its just the only thing i could think of
  • k

    Karew

    02/28/2023, 5:03 AM
    You would have to use an intermediary, like the current running process or the server to do this. There isn't direct cross-provider copying. You need two instances of boto connected to both providers and then you would need to download and upload it with the script doing the intermediate work.
  • k

    Karew

    02/28/2023, 5:04 AM
    Even if you use a batch tool like Rclone to copy a lot of files across to a different provider, it still has to use the current computer as the intermediary.
  • d

    dizzypete

    02/28/2023, 5:04 AM
    yeah ok, oh well, thanks for the speedy response
1...917918919...1050Latest