跳转到主内容

Exciting new changes are coming to the Knowledge Base site soon!
Starting April 4, 2023, you will notice Support-Specific categorization and improvements to the search filters on the site. In May, we will be launching a new and enhanced Site UI and Navigation. To know more, read our Knowledge Article.

在尝试使用预签名URL读取对象时、StorageGRID 会报告SignatureDoesNotMatch警报

Views:
Visibility:
Public
Votes:
0
Category:
storagegrid<a>2009年192291年</a>
Specialty:
sgrid
Last Updated:

适用场景

  • StorageGRID 11.5
  • Amazon S3Client Java库
  • Java Spring Boot应用程序

问题描述

访问由使用Amazon S3Client库的Spring启动应用程序生成的预签名URL时、StorageGRID 将做出以下响应:
 
<Code>SignatureDoesNotMatch</Code>

<Message>The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. For more information, see REST Authentication and SOAP Authentication for details.</Message>

<Resource>/test/testing.txt?AWSAccessKeyId=XXXXXXXXXX&Signature=XXXXXXXXXXXX&Expires=xxx</Resource>

<RequestId>1342320211564360</RequestId>

<AWSAccessKeyId>XXXXXXXXXX</AWSAccessKeyId>

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

Scan to view the article on your device