Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to connect to Cloudflare R2 owing to lack of ability to change region #16377

Open
seanvelasco opened this issue Sep 24, 2024 · 2 comments
Assignees

Comments

@seanvelasco
Copy link

Describe the bug
I'm trying to connect to an R2 bucket with Cyberduck using the Cloudflare R2 profile. However, I'm greeted with the following error:

The region name 'ap-southeast-1' is not valid. Must be one of: wnam, enam, weur, eeur, apac, auto. Please contact your web hosting service provider for assistance.

When I open the Cyberduck's settings (Settings > S3 > Default Bucket Location), I can change the region, and I can confirm the change is reflected, however the options enam, weur, eeur, apac, auto are not available.

To Reproduce
Steps to reproduce the behavior:

  1. Install Cloudflare R2 profile
  2. Use Cloudflare R2 bucket credentials and add bucket name as path
  3. Attempt to establish connection
  4. The above error is shown

Expected behavior
A clear and concise description of what you expected to happen.

Desktop (please complete the following information):

  • OS: MacOS 15.0 (24A335)
  • Version 9.0.2 (42108)

Additional context
When connecting using boto3, the same error is shown when using "auto", "ap-southeast", or any other regions other than enam, weur, eeur, apac, auto. In my case, when I used apac instead of ap-southeast, the error disappeared. So I believe the ability to change the region in the client will fix the issue.

@dkocher dkocher self-assigned this Sep 24, 2024
@dkocher
Copy link
Contributor

dkocher commented Sep 24, 2024

I cannot reproduce. What region is the bucket in you are testing with?

@seanvelasco
Copy link
Author

hi, the region i set when i created the bucket was Asia-Pacific (APAC) or apac. in the Cyberduck client, the region in the S3 settings is set to Asia Pacific (Singapore) or ap-southeast-1.

i think the error is thrown when the region is not one of these enam, weur, eeur, apac, auto.

alternatively, can i change the region in my Cyberduck? when inspecting the .cyberduckprofile XML file, i found these options

<key>Regions</key>
        <array>
            <string>wnam</string>
            <string>enam</string>
            <string>weur</string>
            <string>eeur</string>
            <string>apac</string>
        </array>

but i couldn't find these options in the Cyberduck client at all. i just found these:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants