mirror of
https://github.com/eduardolat/pgbackweb.git
synced 2026-04-25 05:35:57 +03:00
[GH-ISSUE #97] Error testing destination: Failed to test S3 bucket #78
Labels
No labels
bug
confirmed next step
duplicate
enhancement
help wanted
in progress
in progress
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pgbackweb#78
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @JeanWLC on GitHub (Feb 13, 2025).
Original GitHub issue: https://github.com/eduardolat/pgbackweb/issues/97
Hi
Since updating from 0.3.0 (tried every version thereafter), I'm getting the following error on my Backblaze destination:
error testing destination: failed to test S3 bucket: operation error S3: HeadBucket, exceeded maximum number of attempts, 3, https response error StatusCode: 0, RequestID: , HostID: , request send failed, Head "/s3.us-east-005.backblazeb2.com/": unsupported protocol scheme ""
@eduardolat commented on GitHub (Feb 13, 2025):
Can you try adding
https://before your endpoint?@JeanWLC commented on GitHub (Feb 13, 2025):
Thank you! That worked.
@eduardolat commented on GitHub (Feb 13, 2025):
You are welcome
@narsaskpvt commented on GitHub (Feb 14, 2025):
Testing got successful, but when running in execution it fails to upload to BackBlaze.
Find the error below:
failed to upload file to S3: operation error S3: CreateMultipartUpload, https response error StatusCode: 403, RequestID: 722[REDACTED]110e9, HostID: aON5mzzc[REDACTED]Y/M1gyrDGr, api error AccessDenied: not entitled
@eduardolat commented on GitHub (Feb 14, 2025):
Can you verify that your api key has access to the bucket you want to use?
I use backblaze myself and it seems to work fine
@narsaskpvt commented on GitHub (Feb 15, 2025):
I have updated the keyID as Access Key and applicationKey as Secret Key.
Let know if that's right. Interestingly it shows "Connection Successful" in test process.
Also I'm new to BackBlaze as well, attached an image from the bucket settings. (ref. image 2)
@eduardolat commented on GitHub (Feb 15, 2025):
Based on the permissions list of your key I think you are using the "master application" key, I think you should use an "application key"
https://www.backblaze.com/docs/cloud-storage-application-keys
https://www.backblaze.com/apidocs/introduction-to-the-s3-compatible-api
@narsaskpvt commented on GitHub (Feb 15, 2025):
I was using the Application Key not the Master Key. @eduardolat