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

    ๐™‰๐™€๐™†๐™Š ใญใ“

    02/24/2023, 4:25 PM
    Compared, or should I move to DO Storage? I'm on S3 right now.
  • d

    digitalpoint

    02/24/2023, 7:15 PM
    I've had a couple different people using an R2 integration I built tell me that once in awhile the backend gets an HTTP 499 response from the R2 API. The API class I built already retries automatically for server-side errors (5xx). I'm trying to decide if R2 returning 499 should also be a "retryable" response. Looking into it, 499 is supposed to mean the HTTP client disconnected. But if the HTTP client disconnected, how is it getting the 499 response from the API call from Cloudflare? I'd think 499 would only be seen on the server-side. Kind of weird that a client gets an HTTP response back before it disconnected telling it that it disconnected.
  • d

    digitalpoint

    02/24/2023, 7:16 PM
    If the API is just passing through a response it gets from a backend server, wouldn't it make sense to change that to a 5xx response as it passes through?
  • b

    binaryfire

    02/25/2023, 1:17 AM
    Hi all. I was initially interested in R2 because I thought it was replicated and wanted to use it as a pseudo-CDN. But a few forum threads have suggested there's no replication at all. Is that the case? And would there be any problems connecting a domain and enabling "Cache Everything" for a R2 bucket? I understand that'd be a TOS violation if it was a normal website, but can't find any info re: whether that's different for R2-backed domains. cheers
  • u

    Unsmart | Tech debt

    02/25/2023, 1:20 AM
    Its not replicated and you can cache anything you want with r2
  • b

    binaryfire

    02/25/2023, 1:28 AM
    Nice, thank you. I'm setting up a media CDN for my app using R2 + a "Cache everything" page rule on the connected domain. The domain will be on the Pro plan, not Enterprise. So just to be crystal clear, that's fine? Also, are assets automatically purged from a connected domain's cache when updated/deleted in R2?
  • u

    Unsmart | Tech debt

    02/25/2023, 1:29 AM
    Yeah should be fine but if you have any concerns you should consult a lawyer who can actually tell you if the terms allow what you want. And no you would have to purge it yourself
  • b

    binaryfire

    02/25/2023, 1:33 AM
    @Unsmart | Tech debt Sorry, I thought you worked for CF. I'm hoping a representative will reply. Seems crazy to have to go to a lawyer to get an answer for that.
  • u

    Unsmart | Tech debt

    02/25/2023, 1:34 AM
    I dont think anyone who does work at CF would reply to those kind of questions unless you are enterprise and get specific guidance on allowance for it
  • z

    Zeblote

    02/25/2023, 1:34 AM
    there are many posts by employees here and even a blog post saying it's fine. no idea why people keep saying to ask a lawyer
  • u

    Unsmart | Tech debt

    02/25/2023, 1:34 AM
    Theres employees who do say cache is fine with r2 generally yes
  • b

    binaryfire

    02/25/2023, 1:35 AM
    Ok thanks. Tried to find some previous posts on the subject but Discord's search is meh.
  • g

    golyalpha

    02/25/2023, 8:52 AM
    Could you send me the blog post? The only blog post on R2 I've seen was the one introducing it, and I didn't notice a mention referring to caching everything from an R2 bucket being fine (compared to caching everything from a standard site I mean).
  • z

    Zeblote

    02/25/2023, 8:53 AM
    hmm it doesn't specifically mention this customer using R2 but it does repeat the thing with that restriction not applying to the developer platform (R2 is part of it)
  • h

    HardAtWork

    02/25/2023, 8:55 AM
    The issue is that the DevPlat Supplemental terms are still slightly ambiguous on what counts as โ€œcontentโ€ that is allowed to be served. And in the end, the TOS is what will be enforced
  • z

    Zeblote

    02/25/2023, 8:57 AM
    some useful messages in here (I'm sure there are more, you can also find some in hacker news): https://discord.com/channels/595317990191398933/940663374377783388/1020009253228007485 https://discord.com/channels/595317990191398933/1006376008347287584/1007011452252598272 (and the rest of that thread)
  • z

    Zeblote

    02/25/2023, 8:57 AM
    didn't search very long
  • z

    Zeblote

    02/25/2023, 9:01 AM
    there's also that guy who was serving multiple PB of video from R2 which accidentally triggered some temporary limit on his account until he posted here and got it lifted (confirming it was ok)
  • s

    SoulHarsh007

    02/25/2023, 9:27 AM
    ๐Ÿ‘‹ Hello, I am facing Error 500 when I try to fetch objects from my bucket
  • s

    Shervanator

    02/25/2023, 9:29 AM
    Hi we are also getting errors with r2 and workers at the moment, all our sites our down
  • s

    Shervanator

    02/25/2023, 9:30 AM
    500 errors as well
  • z

    Zeblote

    02/25/2023, 9:33 AM
    mine works fine, is it maybe limited to a specific region?
  • s

    Shervanator

    02/25/2023, 9:35 AM
    We are seeing our traffic down globally ๐Ÿค” so maybe some group of buckets
  • s

    Shervanator

    02/25/2023, 9:43 AM
    Seems to be recovering now for us
  • s

    Shervanator

    02/25/2023, 9:43 AM
  • s

    SoulHarsh007

    02/25/2023, 9:46 AM
    yep, seems up
  • c

    conqr

    02/25/2023, 10:58 AM
    thats a lot of cat videos
  • z

    Zeblote

    02/25/2023, 11:06 AM
  • e

    elithrar

    02/25/2023, 3:34 PM
    Iโ€™ll make it easy: itโ€™s fine to use a custom domain to cache + serve content (including video content) backed by R2. If you are not using R2, then regular terms apply.
  • a

    AAAAR

    02/25/2023, 4:32 PM
    Hi guys, I just have a question about using S3 API to access R2 service. If I use the endpoint generated by Cloudflare which is sth like xxxx.r2.cloudflarestorage.com/bucket_name, this works. But cloudflare seems to provide another way to access bucket by using domain hosted by cloudflare.
1...912913914...1050Latest