SOLVED [CPANEL-18897] Potential Amazon s3 Bug

Gareth Johnstone

Registered
Dec 7, 2017
4
0
1
Scottish Borders
cPanel Access Level
Root Administrator
Hi - not sure if this has been mentioned before (i googled it and found nothing)

So - I was setting up an Amazon S3 bucket to store my backups on and this was the naming convention i chose

Code:
backup.mydomain.com
and I would always receive this in the cPanel error log:

Code:
Validation for transport “Amazon” failed: Could not upload test file: PermanentRedirect: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint. [backup_destination_validate] version [1].
I had to name my bucket

Code:
backup-mydomain-com
for it to work.
 

Clixer

Active Member
Feb 24, 2018
30
1
8
Australia
cPanel Access Level
Root Administrator
Hi @cPanelLauren,

Is this backup issue with S3 fixed yet?

I am getting the same error: "Error: Validation for transport “S3 Backup” failed: Could not upload test file: PermanentRedirect: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint."

My S3 bucket is named as backup.mydomain.com.

Thanks for your help.
 

Clixer

Active Member
Feb 24, 2018
30
1
8
Australia
cPanel Access Level
Root Administrator
Hello @cPanelLauren,

I have changed the bucket name to backup-my-domain-com. When trying to validate, now I am getting a new error. "Error: Validation for transport “S3 Backup” failed: Could not upload test file: NoSuchBucket: The specified bucket does not exist."

The bucket certainly exists and I can upload files to it using the S3 console. Are you able to tell me where to from here?

Thanks for your help.
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
8,126
667
263
Houston
cPanel Access Level
DataCenter Provider
Hi @Clixer

The issue should be fixed in v72 and the version you're using. Can you confirm the bucket name resolves as you're entering it? If so can you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved.


Thanks!
 

Clixer

Active Member
Feb 24, 2018
30
1
8
Australia
cPanel Access Level
Root Administrator
Hi @cPanelLauren,

Yes, you are correct. But the bucket name with periods still does not work e.g. "bucketname.mydomain.com".

What would work is "bucketname-mydomain-com". Hopefully this can be fixed in the future.

Thanks for your help.