- Newest
- Most votes
- Most comments
Hi,
I looked at your code on stack overflow and noticed that the following property is set
clusterConfig.RegionEndpoint = RegionEndpoint.GetBySystemName(clusterEndpoint.Region);
Could you also try setting the following property and see if it works?
clusterRecoveryConfig.ServiceURL = RegionEndpoint.GetBySystemName(clusterEndpoint.Endpoint);
Thanks,
Thank you for reaching out.
I have done what you have asked and I get this error: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.
I have created an issue with the AWS .Net SDK folks and they have labeled this as a bug. https://github.com/aws/aws-sdk-net/issues/1978
Once I have a resolution I will post it here and on the Stack Overflow question I have asked.
There is a solution to this question here: https://github.com/aws/aws-sdk-net/issues/1978.
Essentially use the ServiceURL on the configuration object and add a trailing / to the endpoint url.
AmazonRoute53RecoveryClusterConfig clusterRecoveryConfig = new AmazonRoute53RecoveryClusterConfig();
clusterRecoveryConfig.ServiceURL = $"{clusterEndpoint.Endpoint}/";
AmazonRoute53RecoveryClusterClient client = new AmazonRoute53RecoveryClusterClient(_awsCredentials, clusterRecoveryConfig);
Relevant content
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated a year ago
- How can I troubleshoot issues when I use the AWS Load Balancer Controller to create a load balancer?AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 2 years ago