amplify-cli icon indicating copy to clipboard operation
amplify-cli copied to clipboard

Install Amplify CLI on Windows : next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.

Open ankit-927 opened this issue 10 months ago • 3 comments

How did you install the Amplify CLI?

curl -sL https://aws-amplify.github.io/amplify-cli/install-win -o install.cmd && install.cmd

If applicable, what version of Node.js are you using?

v18.20.2

Amplify CLI Version

latest version

What operating system are you using?

Windows - 64-bit operating system

Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.

"No manual changes made"

Describe the bug

I run the below workflow but the curl command fails with an error. Is there something else to be done apart from running curl for Windows?

amplify install issue

After running the amplify install command (npm i -g @aws-amplify/cli) It takes more than 10 minutes to complete the run. After the run is completed, when I'm checking the amplify version command - amplify -version It is throwing this error npm install cmd

After downloading and installing the package the package is not getting installed directly the terminal is closed within seconds

Expected behavior

amplify file needs to be installed

Reproduction steps

  1. curl -sL https://aws-amplify.github.io/amplify-cli/install-win -o install.cmd && install.cmd
  2. npm i -g @aws-amplify/cli

It is not working on my system

Project Identifier

No response

Log output

# Put your logs below this line


Additional information

No response

Before submitting, please confirm:

  • [X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
  • [X] I have removed any sensitive information from my code snippets and submission.

ankit-927 avatar Apr 25 '24 11:04 ankit-927

Hey @ankit-927, the issue appears to be similar to https://github.com/aws-amplify/amplify-cli/issues/11765, when installing Amplify behind a corporate proxy or VPN. Are you utilizing a proxy or VPN? if yes, I would suggested working with the company security team: https://github.com/aws-amplify/amplify-cli/issues/11765#issuecomment-1442095790 https://github.com/aws-amplify/amplify-cli/issues/11765#issuecomment-1437263701

ykethan avatar Apr 25 '24 15:04 ykethan

I'm not using any proxy or VPN and also not using any anti-virus.

ankit-927 avatar Apr 26 '24 05:04 ankit-927

@ankit-927 found a similar issue here. This issue appears to be related to your network or network settings on your machine. Verify your local settings to check if a proxy was set and suggest reaching out to your network Admins.

ykethan avatar Apr 26 '24 17:04 ykethan

Closing the issue due to inactivity. Do reach out to us if you are still experiencing this issue

ykethan avatar May 29 '24 19:05 ykethan

This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.

github-actions[bot] avatar May 29 '24 19:05 github-actions[bot]