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

Invalid signature when using PHP 7.4 #83

Open
Shelob9 opened this issue Mar 22, 2021 · 2 comments
Open

Invalid signature when using PHP 7.4 #83

Shelob9 opened this issue Mar 22, 2021 · 2 comments

Comments

@Shelob9
Copy link

Shelob9 commented Mar 22, 2021

When using PHP 7.4.16 with Ubuntu running in WSL/2 I get this error running wpsnapshots pull or wpsnaphsots search. Switching to PHP 7.3.27 resolved my issue.

Error executing "Scan" on "https://dynamodb.us-west-1.amazonaws.com"; AWS HTTP error: Client error: `POST https://d
  ynamodb.us-west-1.amazonaws.com` resulted in a `400 Bad Request` response:
  {"__type":"com.amazon.coral.service#InvalidSignatureException","message":"The request signature we calculated does
  not m (truncated...)
   InvalidSignatureException (client): The request signature we calculated does not match the signature you provided.
   Check your AWS Secret Access Key and signing method. Consult the service documentation for details. - {"__type":"c
  om.amazon.coral.service#InvalidSignatureException","message":"The request signature we calculated does not match th
  e signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation fo
  r details."}

Steps to Reproduce

  1. Install wpsnapshots in Ubunutu with PHP 7.4
  2. wpsnapshots search t-mobile
  3. See error

Environment information

  • Device: Dell XPS 13
  • OS: Windows 10 Pro
@Shelob9 Shelob9 added the bug label Mar 22, 2021
@Shelob9
Copy link
Author

Shelob9 commented Mar 23, 2021

Same issue with PHP 8.0.3 (Windows 10 Pro wsl/2 Ubuntu 20.04)

@jeffpaul jeffpaul added this to the 2.2.0 milestone Mar 24, 2021
@jeffpaul
Copy link
Member

Thanks for the details @Shelob9, if you want to / are able to submit a PR to resolve that would be great!

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

No branches or pull requests

2 participants