- 최신
- 최다 투표
- 가장 많은 댓글
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);
관련 콘텐츠
- AWS 공식업데이트됨 일 년 전