1104 is a weird error to get, I would guess it's related to using python yea. Did you try using JS?

1104 is a weird error to get, I would guess it's related to using python yea. Did you try using JS? Python's still in a beta and no packages or anything, you could try reporting that w/ some more info in #🐍python-workers but I would guess way unrelated to r2. That median cpu time is super high too, but I suppose that's just python. I found one interesting ref that 1104 can be hitting startup cpu time, possible with python
17 Replies
Chaika
ChaikaOP•3mo ago
no, which client is that?
hiimmango
hiimmango•3mo ago
I'm using Cyberduck, I made sure I generated the correct key following the instructions https://developers.cloudflare.com/r2/api/s3/tokens/
Cloudflare Docs
Authentication | Cloudflare R2 docs
You can generate an API token to serve as the Access Key for usage with existing S3-compatible SDKs or XML APIs.
Chaika
ChaikaOP•3mo ago
someone linked a guide before about how to use it: https://discord.com/channels/595317990191398933/940663374377783388/1155472378139267144 (of course be careful about downloading stuff from links from strangers, looks like it's on their offical docs too though: https://docs.cyberduck.io/protocols/s3/cloudflare/
sto1
sto1•3mo ago
hello, i have just created a bucket on r2 and connected it to my django application. It is successfully connected and i can upload image to r2 with my django app but there seem to be an error with specific library called django ckeditor which is basically a rich text editor. it does not seem to appear when i try to write a post . I would be thankful if someone can advice me on this matter! appreciated
No description
hiimmango
hiimmango•3mo ago
It doesn't work for me. I don't know if R2 has access restrictions set somewhere.
Chaika
ChaikaOP•3mo ago
access restrictions? just whatever you made the key with
hiimmango
hiimmango•3mo ago
I just try with all token permissions. When i connect with admin read/write permission. It throws error about region but when i try to connect with object read/write permission, it throws "access denied" error :(((
Chaika
ChaikaOP•3mo ago
hmm is there no configuration for region? Should be auto or us-east-1, I assume should be part of their profile. What specific error does it throw? This isn't an EU Jurisdiction bucket right?
hiimmango
hiimmango•3mo ago
ya, This isn't an EU Jurisdiction bucket.I was able to connect successfully following the instructions last week, but until I deleted the old token and created a new one, I couldn't access S3 and had the above issues. I tried resetting Cyberduck config, setup region to APAC but all failed.
hiimmango
hiimmango•3mo ago
No description
Chaika
ChaikaOP•3mo ago
Pick US East (North Virginia) regardless of your actual bucket location, should correspond to us-east-1
When using the S3 API, the region for an R2 bucket is auto. For compatibility with tools that do not allow you to specify a region, an empty value and us-east-1 will alias to the auto region.
hiimmango
hiimmango•3mo ago
I'll try it, thanks
Chaika
ChaikaOP•3mo ago
hmm maybe cyberduck for mac is a bit different then windows but I just followed the link above to download the profile and create the profile and it worked fine for me
Chaika
ChaikaOP•3mo ago
I even used a bucket scoped key and it worked fine as long as I specified the path, server is just your account id + r2.cloudflarestorage.com (it gives you that on api token creation), Access Key ID is Access Key ID and Secret Is Secret Key ID, path is bucket name. If still doesn't work I would just rclone w/ cli if you can use it: https://developers.cloudflare.com/r2/examples/rclone/, they have explicit support for R2 and it's widely used
No description
sto1
sto1•3mo ago
hey, did you find an answer to this? 😊
Aim
Aim•3mo ago
I want to customize the 404 error page that appears after I connected my domain to Cloudflare and set up Cloudflare R2 storage. How can I do this?
No description
Aim
Aim•3mo ago
yes if i add /index.html to the url , then it works but doesn't work for 404 pages how can i redirect my 404 to this
Want results from more Discord servers?
Add your server