-
Notifications
You must be signed in to change notification settings - Fork 991
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
S3 snapshots does not work on non-AWS S3? #3067
Comments
experiencing the same/similar issue with Cloudflare's R2:
coupled the following when trying to SAVE:
Same environment as OP. Thanks,
|
@8times4 what are the command-line flags you used to run dragonfly? |
just the default one by the operator with Here's also a docker command to replicate w/o k8s (needs a cf account):
|
@andydunstall should the endpoint flag be with the https prefix? |
Yep, you can configure http/https using |
To be clear the This is the problem @8times4 is hitting, but not the problem I'm having as detailed in the first post. |
@nyxi |
Typo, sorry for the confusion. Updated the first post. |
I'm having a similar issue while using Backblaze's S3 compatible API. The difference is that I am instead receiving
Update: I've been doing more digging and according to Backblaze's docs there are certain limitations with their S3 implementation:
Fair enough, I'll just set I'll send them a question asking if that's indeed the case why it's not working, I'll update later when I hear back. Update 2:
|
Describe the bug
Dragonfly logs "InternalError" for everything S3.
Looking on the receiving end, my S3 service, it seems that Dragonfly makes HTTP requests to:
https://fqdn/https://fqdn/bucket/file
which of course does not work.Log excerpts from startup and after a
BGSAVE
:To Reproduce
S3 credentials in environment variables
AWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY
.S3 endpoint in environment variable
DFLY_s3_endpoint
(in my caseswift.elastx.cloud
).Snapshot dir set in environment variable
DFLY_dir
(in my cases3://dragonfly-juicefs
).Expected behavior
S3 snapshots to work.
Environment (please complete the following information):
Additional context
S3 API for Openstack Swift - not AWS
The text was updated successfully, but these errors were encountered: