AWSSDK升级破坏了SQS /安装AWSSK。S3破坏的方式相同

时间:2018-07-09 17:59:11

标签: c# .net amazon-web-services amazon-s3 amazon-sqs

我当前正在使用AWSSDK.SQS版本3.3.3.4。一切都很好,但如果我愿意,

  1. 升级到任何新版本的SQS,或
  2. 安装高于3.3.17.2的AWSSDK.S3版本

然后我得到这些巨大的丑陋错误(如下)。但是,在此之前,一切对我的安全来说都很好。

在错误和安装过程中看到的AWSSDK.Core是什么?这似乎跨越了小细节。

SqsDataAgent.GetNextMessage错误:我们计算出的请求签名与您提供的签名不匹配。检查您的AWS Secret Access密钥和签名方法。有关详细信息,请查阅服务文档。

此请求的规范字符串应为 '开机自检 / 156305373065 / com-emailage-cardinal-queue /

content-type:application / x-www-form-urlencoded;字符集= utf-8 主持人:sqs.us-west-2.amazonaws.com 用户代理:aws-sdk-dotnet-coreclr / 3.3.3.11 aws-sdk-dotnet-core / 3.3.24.3 .NET_Core / 4.6.26328.01 OS / Microsoft_Windows_10.0.17134 ClientAsync x-amz-content-sha256:1cfed24f30bd4b3c80dc5c16a3c06138d1ec687a94abf19716eac8d27609f4d3 x-amz-date:20180709T152050Z 的x AMZ-安全令牌:FQoDYXdzEPD ////////// wEaDPlyfcIOHN886I8VWSKwAQy5ZWdVy / ks29hhFtmlQwyWgSxhiMJUFdYQCf1l / e0voD + 8kumkKn57qweHW7u461GKS7OXKB8jGDFaIduKGLq5DHXV9NRdUhS53MBilW / L2geyfZLUoUI2wAUzdk5lcl3AMurBf1ReCPtabzjBDYVku3XQ2p8HSEg2BN5mMzR6FFWbvitTydN3Q + AlVpi4cC7DKrE6gA / TNXt9g1AqSZpJcSUHVhOTSNEe + u3o10ZiKJ / fjdoF

内容类型;主机;用户代理; x-amz-content-sha256; x-amz-日期; x-amz-安全令牌 1cfed24f30bd4b3c80dc5c16a3c06138d1ec687a94abf19716eac8d27609f4d3'

“签名字符串”应该是 'AWS4-HMAC-SHA256 20180709T152050Z 20180709 / us-west-2 / sqs / aws4_request 0b50fa73e2e1be12b46a4491498eb676becd1a0340b9b4569ee3c1f119cf554e'     在Amazon.Runtime.Internal.HttpErrorResponseExceptionHandler.HandleException(IExecutionContext executeContext,HttpErrorResponseException异常)中的E:\ JenkinsWorkspaces \ v3-trebuchet-release \ AWSDotNetPublic \ sdk \ src \ Core \亚马逊。 60    在E:\ JenkinsWorkspaces \ v3-trebuchet-release \ AWSDotNetPublic \ sdk \ src \ Core \ Amazon.Runtime \ Pipeline \ ErrorHandler \ ErrorHandler.cs:line中的Amazon.Runtime.Internal.ErrorHandler.ProcessException(IExecutionContext executeContext,Exception exception) 212    在Amazon.Runtime.Internal.ErrorHandler.d__5 1.MoveNext() in E:\JenkinsWorkspaces\v3-trebuchet-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Pipeline\ErrorHandler\ErrorHandler.cs:line 104 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Amazon.Runtime.Internal.CallbackHandler.<InvokeAsync>d__9 1.MoveNext() ---从之前引发异常的位置开始的堆栈结束跟踪---    在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)    在Amazon.Runtime.Internal.CredentialsRetriever.d__7 1.MoveNext() in E:\JenkinsWorkspaces\v3-trebuchet-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Pipeline\Handlers\CredentialsRetriever.cs:line 98 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Amazon.Runtime.Internal.RetryHandler.<InvokeAsync>d__10 1.MoveNext() ---从之前引发异常的位置开始的堆栈结束跟踪---    在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    在Amazon.Runtime.Internal.RetryHandler.d__10 1.MoveNext() in E:\JenkinsWorkspaces\v3-trebuchet-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Pipeline\RetryHandler\RetryHandler.cs:line 153 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Amazon.Runtime.Internal.CallbackHandler.<InvokeAsync>d__9 1.MoveNext() ---从之前引发异常的位置开始的堆栈结束跟踪---    在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)    在Amazon.Runtime.Internal.CallbackHandler.d__9 1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Amazon.Runtime.Internal.ErrorCallbackHandler.<InvokeAsync>d__5 1.MoveNext()中的E:\ JenkinsWorkspaces \ v3-trebuchet-release \ AWSDotNetPublic \ sdk \ src \ Core \ Amazon.Runtime \ Pipeline \ Handlers \ ErrorCallbackHandler中。 cs:第58行 ---从之前引发异常的位置开始的堆栈结束跟踪---    在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)    在Amazon.Runtime.Internal.MetricsHandler.d__1 1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable 1.ConfiguredTaskAwaiter.GetResult()    

0 个答案:

没有答案