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

SignatureDoesNotMatch error when deploying to AWS #52

Open
alykat opened this issue Mar 18, 2022 · 1 comment
Open

SignatureDoesNotMatch error when deploying to AWS #52

alykat opened this issue Mar 18, 2022 · 1 comment

Comments

@alykat
Copy link
Member

alykat commented Mar 18, 2022

Have seen two people (one on the team, one external) report a SignatureDoesNotMatch error from aws-sdk-js when deploying to AWS. (One person reported this was an issue for deploying new graphics, but not for rewriting existing graphics.)

Common to both:

  • Fresh dgnext installs
  • On Macs
  • Using zsh rather than bash
  • A / character in their AWS_SECRET_ACCESS_KEY (some comments in this thread suggest that this can be an issue)

For both, refreshing their keys to ones that didn't have a / ended up fixing the issue.

I can't say definitively that having a / in the key is a problem for all users: Another member of the team has the same setup and has not had an issue deploying. But if this comes up again, refreshing keys is certainly a thing to try.

/cc @thomaswilburn in case it's of interest.

@thomaswilburn
Copy link
Contributor

I just pushed a commit to our rig that moves to the latest version of the SDK, and encountered this error when I was using the ListObjects command. It went away when I moved to ListObjectsV2, which is compatible with the arguments we're currently using. Given that this is happening for your users when calling PutObject during deployment, I don't know that it'll fix things for sure, but it might be worth a shot to try a branch with our changes and see if they fix anything in the future (and probably a good idea to upgrade the SDK anyway, honestly).

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

2 participants