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

    vince

    02/28/2023, 8:34 AM
    Hi guys, is there anyway to send data to R2 via API without the complex AWS auth and signature? Is there a way to make it a simple HTTP call with a Bearer? Not a dev here, but really need to use R2.... 🙏
  • h

    HardAtWork

    02/28/2023, 8:35 AM
    You could do it with a Worker?
  • v

    vince

    02/28/2023, 8:38 AM
    Ah, I didn't know! I'll check this out thank you. So Setting up basically an "app" where http calls are then transformed into server-side actions?
  • h

    HardAtWork

    02/28/2023, 8:39 AM
    Yes
  • v

    vince

    02/28/2023, 8:49 AM
    Thanks! There's very few tutorials on R2 and setting them up out there, specifically simply. Is there any way to do this with limited amount of code? The postman call is amazing, just works out of the box, straightforward. The killer is the AWS login. Now setting up a work sound straight forward but then need to use CLI & JS to set things up apparently... If you know of a good explaination vid/post please let me know 🙏
  • h

    HardAtWork

    02/28/2023, 8:50 AM
    There's the docs? https://developers.cloudflare.com/r2/data-access/workers-api/
  • v

    vince

    02/28/2023, 8:53 AM
    Yes.. thanks! Emphasis on don't code much 😓 aha. I'll figure it out, thank you for your help
  • p

    paulober

    02/28/2023, 10:36 AM
    Hi, does anyone know if there is an option to look my R2 to the free tier so that i cannot go over the free tier limit?
  • d

    Deleted User

    02/28/2023, 10:38 AM
    You can set a reminder in your Notification Settings
  • p

    paulober

    02/28/2023, 10:41 AM
    Ok, thanks
  • p

    paulober

    02/28/2023, 10:42 AM
    Does the limit notification max value is per month?
  • p

    paulober

    02/28/2023, 10:43 AM
    for example for the class B R2 operations if i set it to 10M will it count or reset at the beginning of a new month
  • d

    Deleted User

    02/28/2023, 10:44 AM
    It doesnt set a max value or so it just sends you a email if the value you entered is reached
  • d

    Deleted User

    02/28/2023, 10:45 AM
  • p

    paulober

    02/28/2023, 10:58 AM
    ok
  • d

    Deleted User

    02/28/2023, 11:18 AM
    but it should also be able to check it via the api and then block the upload
  • d

    Deleted User

    02/28/2023, 11:18 AM
    so that before you upload the pic to cf that you check if you have reached the limit
  • d

    digitalpoint

    02/28/2023, 4:03 PM
    Anyone else getting errors all over the place with R2 API (not the S3 API, just the "normal" API). Can't get public domain (or any other settings), can't get a list of buckets on account, etc. Thought maybe it was an issue with my API implementation, but looks to be the same in Cloudflare's R2 dashboard right now. 🤔
  • j

    JustinNoel

    02/28/2023, 4:03 PM
    Something is up with R2 in the dashboard. It's not listing buckets
  • d

    digitalpoint

    02/28/2023, 4:04 PM
    Ya that.
  • j

    JustinNoel

    02/28/2023, 4:07 PM
  • j

    JustinNoel

    02/28/2023, 4:08 PM
    Copy code
    {
      "success": false,
      "errors": [
        {
          "code": 10001,
          "message": "We encountered an internal error. Please try again."
        }
      ],
      "messages": [],
      "result": null
    }
  • j

    JustinNoel

    02/28/2023, 4:09 PM
    I'm asking for attention on this from the CF team in the Champs group. They'll respond here once they get some info.
  • u

    ucinteractivesl

    02/28/2023, 4:15 PM
    Is anyone having problem with R2 interface loading?
  • j

    JustinNoel

    02/28/2023, 4:15 PM
    Issue Summary - In the Dashboard for the Buckets page, getting 500 errors in console when list of buckets is fetched. - There are no UI issues displayed - In the Dashboard for a specific bucket, getting 500 errors in console when list of files is fetched. - The UI shows the red errors above posted by digitalpoint.
  • j

    JustinNoel

    02/28/2023, 4:15 PM
    See the 5 or 6 posts above
  • j

    JustinNoel

    02/28/2023, 4:16 PM
    @digitalpoint @ucinteractivesl FYI > INCIDENT-3562 was just raised for R2 issues
  • d

    digitalpoint

    02/28/2023, 4:21 PM
    Looks like it's most things related to settings on R2 buckets (not just listing files). I noticed it first outside of Cloudflare dashboard when getting public domain (at first I thought the public domain got deleted because it was showing nothing... went to CF dashboard and oh ya... not my problem. haha)
  • w

    Walshy | Pages

    02/28/2023, 4:38 PM
    https://www.cloudflarestatus.com/incidents/jbzt5k67sb65
  • d

    digitalpoint

    02/28/2023, 4:41 PM
    Not sure it's latency, but hopefully it gets sorted soon. Now having my users creating support tickets for me about it. "Hi, my server is showing a lot of the following error logs. What's going on? GuzzleHttp\Exception\ServerException: Server error:
    GET https://api.cloudflare.com/client/v4/accounts/xxxxxx/r2/buckets/xxxxx/usage
    resulted in a
    500 Internal Server Error
    response: {"success":false,"errors":[{"code":10001,"message":"We encountered an internal error. Please try again."}],"messages":[] (truncated...) in src/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php at line 113"
1...918919920...1050Latest