- 最新
- 最多得票
- 最多評論
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);
相關內容
- 已提問 6 個月前
- 已提問 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前