Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LambdaNETCoreDeploy failing to upload to S3 with signature mismatch in version 5.8.1 #534

Open
SriReddyOSG opened this issue Oct 27, 2023 · 0 comments

Comments

@SriReddyOSG
Copy link

Describe the bug
LambdaNETCoreDeploy in AzureDevops is throwing errors "Error uploading to xxxxx-CodeUri-Or-ImageUri-xxxxx-xxxxx.zip in bucket xxxxx/xxxxx: The request signature we calculated does not match the signature you provided. Check your key and signing method."

Looks like it started happening with Amazon.Lamda.Tools 5.8.1

To reproduce
Have a AzDo pipeline that wil use LambdaNETCoreDeploy to save the package to an S3 bucket.

Your Environment

  • Azure Devops Cloud

Lambda project successfully packaged: C:\Users\VssAdministrator\AppData\Local\Temp\busTokensLambdaFunction-CodeUri-Or-ImageUri-638339604130850185.zip
Uploading to S3. (Bucket: riyo-serverless-code/busTokens Key: riyo-functions-busTokensLambdaFunction-CodeUri-Or-ImageUri-638339604130850185.zip)
Error uploading to riyo-functions-busTokensLambdaFunction-CodeUri-Or-ImageUri-638339604130850185.zip in bucket riyo-serverless-code/busTokens: The request signature we calculated does not match the signature you provided. Check your key and signing method.
##[debug]Exit code 4294967295 received from tool 'C:\Users\VssAdministrator.dotnet\tools\dotnet-lambda.exe'
##[debug]STDIO streams have closed for tool 'C:\Users\VssAdministrator.dotnet\tools\dotnet-lambda.exe'
##[debug]task result: Failed
##[error]Error: The process 'C:\Users\VssAdministrator.dotnet\tools\dotnet-lambda.exe' failed with exit code 4294967295
##[debug]Processed: ##vso[task.issue type=error;]Error: The process 'C:\Users\VssAdministrator.dotnet\tools\dotnet-lambda.exe' failed with exit code 4294967295
##[debug]Processed: ##vso[task.complete result=Failed;]Error: The process 'C:\Users\VssAdministrator.dotnet\tools\dotnet-lambda.exe' failed with exit code 4294967295

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant