0
を有効期限が切れている私のPresignedは通常、私は10を置くURLC#AWS SDK PresignedのダウンロードURLが常に
using (var S3Client = new AmazonS3Client(AppSettings.AwsAccessKey, AppSettings.AwsSecretKey, Amazon.RegionEndpoint.USEast1))
{
GetPreSignedUrlRequest request = new GetPreSignedUrlRequest
{
BucketName = AppSettings.AwsS3BucketName,
Key = Filename,
Expires = DateTime.Now.AddSeconds(ExpirationSeconds),
Verb = HttpVerb.GET
};
return S3Client.GetPreSignedURL(request);
}
をdownloandと私は問題を抱えています私のURLが期限切れであるというメッセージ。
<Error>
<Code>AccessDenied</Code>
<Message>Request has expired</Message>
<Expires>2016-05-04T11:21:39Z</Expires>
<ServerTime>2016-05-04T11:22:12Z</ServerTime>
<RequestId>F329329970936A18</RequestId>
<HostId>womi/k5E9ffDDa6PffCcWBMYzUF2i4oRIY+QX6R/6v0IjQlipYA2OKBPQOflkoLIl4+wk6So7Ks=</HostId>
</Error>
日付差が大きすぎます。それのどこが悪いんだい?