Skip to main content

[CPANEL-26887] Amazon S3 backup destination validation times out upon initial setup

Comments

19 comments

  • Benito
    Hello! Im trying to setup a S3 backup using a bucket in europe and fails validation. If i setup a bucket in USA it works fine. I do not where to look to solve this problem. Thanks
    0
  • Benito
    @KristanM Hello! My EU bucket start working. Today i tried to validate and worked ok. I did nothing.
    0
  • KristanM
    Interesting - I left mine enabled, even though it wouldn't validate. I've just checked and it looks like the following day it started working and I now have 5 days of backups and a weekly correctly in my S3 bucket. Has something changed I wonder, or do we need to wait some time between creating the bucket and using it for it to replicate somewhere. Useful to know though, as I'm setting this up on several boxes now!
    0
  • cPanelMichael
    Hello @benito and @KristanM, Despite backups generating successfully, I'd like to rule out any issues with the Amazon S3 backup destination validation process. Can you verify which cPanel & WHM version is installed on the affected system? Also, are you able to reproduce the validation issue on new S3 backup destinations (if you have the ability to test it)? Thank you.
    0
  • Benito
    Hello @benito and @KristanM, Despite backups generating successfully, I'd like to rule out any issues with the Amazon S3 backup destination validation process. Can you verify which cPanel & WHM version is installed on the affected system? Also, are you able to reproduce the validation issue on new S3 backup destinations (if you have the ability to test it)? Thank you.

    Hello! I created a new bucket in London, it gives: "Error: Validation for transport "bucketname" failed: Timeout" cPanel version v76.0.14. Will check it again tomorrow to see if it validates ok like the previous one.
    0
  • cPanelMichael
    I created a new bucket in London, it gives: "Error: Validation for transport "bucketname" failed: Timeout"

    Can you open a
    0
  • Benito
    Done, the ticket is 10995567 I created a new destination called cPanel Test Bucket on server.
    0
  • cPanelMichael
    Hello, To update, internal case CPANEL-24550 CPANEL-26887 is now open to track reports of Amazon S3 backup destinations failing validation. In these reports, validation and backups subsequently succeed within 24 hours after the initial failed validation attempt. I'll monitor this case and update this thread with more information as it becomes available. Thank you.
    0
  • KristanM
    Hello @benito and @KristanM, Despite backups generating successfully, I'd like to rule out any issues with the Amazon S3 backup destination validation process. Can you verify which cPanel & WHM version is installed on the affected system? Also, are you able to reproduce the validation issue on new S3 backup destinations (if you have the ability to test it)? Thank you.

    v76.0.14 here too. I've tried two new buckets, one in the US, one in the EU. Both fail to validate for me interestingly. The existing one still validates fine. Is there a log file for the validation process we can look at?
    0
  • KristanM
    It's certainly less than 24 hours to validate - the ones I created this morning now validate fine, so more like 6 hours perhaps?
    0
  • cPanelMichael
    Hello @KristanM, I've updated this thread to reflect that this issue extends to buckets within North America, and relayed this information internally. I'll continue to monitor the internal case and update this thread with more information as it becomes available.
    Is there a log file for the validation process we can look at?

    There's no specific log file, but you can review the output from the following WHM API 1 function when testing validation: WHM API 1 Functions - backup_destination_validate - Developer Documentation - cPanel Documentation EX: whmapi1 backup_destination_validate id=DESTINATION-ID disableonfail=0
    To obtain the destination ID, you'd use the following WHM API 1 command: whmapi1 backup_destination_list
    Thank you.
    0
  • cPanelMichael
    Hello Everyone, Can anyone confirm if this issue persists in cPanel & WHM version 78.0.20 (available in the CURRENT release tier) or higher? Thank you.
    0
  • drakeba
    @cPanelMichael I know this is a few months old, but I can confirm having the same issue just now on WHM version 80.0.18. Created an s3 bucket in the Oregon region, validation timed out consistently. As a test, I validated against an existing s3 bucket from the N. Virginia region just fine.
    0
  • drakeba
    @cPanelMichael Just tried again about 90 minutes later, it validated. I assume this is an S3 issue, but hopefully this info helps rule it out on your end. (assuming you haven't done so already in the past few months)
    0
  • cPanelMichael
    Hello @drakeba, Thanks for sharing the additional information. We're now tracking reports of this behavior as part of internal case CPANEL-26887. I've linked this thread to the case and will provide an update as soon as new information is available. Thank you.
    0
  • cPanelLauren
    Hello, I've just checked in on this case and it would appear that the development team for this has decided this isn't something they'll be able to address. The reasoning being as follows: [QUOTE]Putting enough information in the validation message would be incredibly messy. I will look into possibly giving a message in the transport setup. Unfortunately, there's no way for us to capture that it's a newly-created bucket, so we would have to give this message on every validation that fails on S3 for a bucket not found message.
    If you feel that this is something that will be important to be included or if you have a different idea for how to mitigate it, I'd suggest opening a feature request for it. You can do so using the link in my signature. If you do open a feature request for this, please add the link here when it's accepted so others can view and vote on it. Thanks!
    0
  • pacwebhosting
    Hi, I have just encountered this exact same issue today. After setting up an s3 bucket cpanel backup would not validate it but jetbackup would on the same server straight away. I imagine that where cpanel is trying to validate it that it does indeed have to replicate to there as it worked hours later. Mine was a UK bucket. So maybe speak to the guys/partners at jetbackup and find out how they work out how to get it to validate straight away as they must have a method working out the location of the bucket and querying there :) Thanks Paul
    0
  • hoomanxx
    Hi, I have same problem, When I want create s3 bucket, validation timed out consistently. my s3 bucket provider examined the problem and said: "cPanel's standard is not compatible with our services, you must set the region to default and cPanel have not this option". How can I set the region to "default"? Thanks
    0
  • cPanelLauren
    They give the following instructions on how to set the region: Choose an AWS Region - Amazon EMR
    0

Please sign in to leave a comment.