Link to S3 Bucket Error

I am currently linking S3 Buckets to my Amazon EC2 instances and am having problem a problem with two servers. The error that is logged appears to indicate a permissions error. The Backup application was unable to delete the test file. I have linked over 20 servers with the same Access Key & Secret Key without a problem. Backup application uses a Service Account that is used in other EC2 instances and bucket is linked successfully.

Here is the Log from C:\ProgramData\Red Gate\Logs\SQL Backup 9

2017-11-10 07:08:42,608 [1] INFO Program - SQL Backup upload client 9.1.4.722
2017-11-10 07:08:42,857 [1] INFO Program - Copyright © Red Gate Software Ltd
2017-11-10 07:08:42,997 [1] INFO Program - UseSignatureVersion4 was 'True'
2017-11-10 07:08:42,997 [1] INFO Program - UseSignatureVersion4 is now 'True'
2017-11-10 07:08:43,013 [1] INFO AccountDetails - AWS Keys are '' set'
2017-11-10 07:08:43,107 [1] INFO S3UploadClientFactory - Setting Region to Default
2017-11-10 07:08:43,107 [1] INFO S3UploadClientFactory - Defaulting EndPoint to 'US East (Virginia)'
2017-11-10 07:08:43,559 [1] INFO Authorization - Delete file RedgateHostedStorageTestFile.8cdb76e24e044eee9cabe5bd270c874f
2017-11-10 07:08:43,559 [1] ERROR Authorization - Failed to delete file RedgateHostedStorageTestFile.8cdb76e24e044eee9cabe5bd270c874f
System.NullReferenceException: Object reference not set to an instance of an object.
at RedGate.SQLBackup.CloudBackup.App.S3.Authorization.DeleteFileOnS3(IAmazonS3 s3Client, String s3Name)
2017-11-10 07:08:43,575 [1] ERROR Program - Problem
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.
at System.Security.Cryptography.SHA256Managed..ctor()
at System.Security.Cryptography.HMACSHA256..ctor(Byte[] key)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Security.Cryptography.CryptoConfig.CreateFromName(String name, Object[] args)
at Amazon.Util.CryptoUtilFactory.CryptoUtil.HMACSignBinary(Byte[] data, Byte[] key, SigningAlgorithm algorithmName)
at Amazon.Runtime.Internal.Auth.AWS4Signer.ComposeSigningKey(String awsSecretAccessKey, String region, String date, String service)
at Amazon.Runtime.Internal.Auth.AWS4Signer.ComputeSignature(String awsAccessKey, String awsSecretAccessKey, String region, DateTime signedAt, String service, String signedHeaders, String canonicalRequest, RequestMetrics metrics)
at Amazon.Runtime.Internal.Auth.AWS4Signer.SignRequest(IRequest request, IClientConfig clientConfig, RequestMetrics metrics, String awsAccessKeyId, String awsSecretAccessKey)
at Amazon.S3.Internal.S3Signer.Sign(IRequest request, IClientConfig clientConfig, RequestMetrics metrics, String awsAccessKeyId, String awsSecretAccessKey)
at Amazon.Runtime.Internal.Signer.SignRequest(IRequestContext requestContext)
at Amazon.Runtime.Internal.Signer.PreInvoke(IExecutionContext executionContext)
at Amazon.Runtime.Internal.Signer.InvokeSync(IExecutionContext executionContext)
at Amazon.Runtime.Internal.PipelineHandler.InvokeSync(IExecutionContext executionContext)
at Amazon.Runtime.Internal.PipelineHandler.InvokeSync(IExecutionContext executionContext)
at Amazon.Runtime.Internal.RetryHandler.InvokeSync(IExecutionContext executionContext)
at Amazon.Runtime.Internal.PipelineHandler.InvokeSync(IExecutionContext executionContext)
at Amazon.Runtime.Internal.CallbackHandler.InvokeSync(IExecutionContext executionContext)
at Amazon.Runtime.Internal.PipelineHandler.InvokeSync(IExecutionContext executionContext)
at Amazon.S3.Internal.AmazonS3KmsHandler.InvokeSync(IExecutionContext executionContext)
at Amazon.Runtime.Internal.PipelineHandler.InvokeSync(IExecutionContext executionContext)
at Amazon.Runtime.Internal.PipelineHandler.InvokeSync(IExecutionContext executionContext)
at Amazon.S3.Internal.AmazonS3PostMarshallHandler.InvokeSync(IExecutionContext executionContext)
at Amazon.Runtime.Internal.PipelineHandler.InvokeSync(IExecutionContext executionContext)
at Amazon.Runtime.Internal.PipelineHandler.InvokeSync(IExecutionContext executionContext)
at Amazon.S3.Internal.AmazonS3PreMarshallHandler.InvokeSync(IExecutionContext executionContext)
at Amazon.Runtime.Internal.PipelineHandler.InvokeSync(IExecutionContext executionContext)
at Amazon.Runtime.Internal.CallbackHandler.InvokeSync(IExecutionContext executionContext)
at Amazon.Runtime.Internal.PipelineHandler.InvokeSync(IExecutionContext executionContext)
at Amazon.S3.Internal.AmazonS3ExceptionHandler.InvokeSync(IExecutionContext executionContext)
at Amazon.Runtime.Internal.PipelineHandler.InvokeSync(IExecutionContext executionContext)
at Amazon.Runtime.Internal.ErrorCallbackHandler.InvokeSync(IExecutionContext executionContext)
at Amazon.Runtime.Internal.PipelineHandler.InvokeSync(IExecutionContext executionContext)
at Amazon.Runtime.Internal.MetricsHandler.InvokeSync(IExecutionContext executionContext)
at Amazon.Runtime.Internal.RuntimePipeline.InvokeSync(IExecutionContext executionContext)
at Amazon.Runtime.AmazonServiceClient.Invoke[TRequest,TResponse](TRequest request, IMarshaller`2 marshaller, ResponseUnmarshaller unmarshaller)
at Amazon.S3.AmazonS3Client.GetBucketLocation(String bucketName)
at RedGate.SQLBackup.CloudBackup.App.S3.S3UploadClientFactory.GetS3RegionForBucket(String accessKeyId, String secretAccessKeyId, String bucket, RegionEndpoint defaultEndpoint)
at RedGate.SQLBackup.CloudBackup.App.S3.S3UploadClientFactory.GetRegionForBucket(String region, String accessKeyId, String secretAccessKeyId, String bucket)
at RedGate.SQLBackup.CloudBackup.App.S3.Authorization.GetS3Client()
at RedGate.SQLBackup.CloudBackup.App.S3.Authorization.Validate()
at RedGate.SQLBackup.CloudBackup.App.Program.SetUpAuthorization(CommandLineArguments commandLineArguments)
at RedGate.SQLBackup.CloudBackup.App.Program.Main(String[] args)

Sign In or Register to comment.