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

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

Open
2 tasks done
ankit-927 opened this issue Apr 25, 2024 · 3 comments
Labels
installation Issues tied to installation of the CLI pending-response Issue is pending response from the issue author pending-triage Issue is pending triage

Comments

@ankit-927
Copy link

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:

  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
  • I have removed any sensitive information from my code snippets and submission.
@ankit-927 ankit-927 added the pending-triage Issue is pending triage label Apr 25, 2024
@ykethan
Copy link
Contributor

ykethan commented Apr 25, 2024

Hey @ankit-927, the issue appears to be similar to #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: #11765 (comment)
#11765 (comment)

@ykethan ykethan added installation Issues tied to installation of the CLI pending-response Issue is pending response from the issue author labels Apr 25, 2024
@ankit-927
Copy link
Author

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

@github-actions github-actions bot removed the pending-response Issue is pending response from the issue author label Apr 26, 2024
@ykethan
Copy link
Contributor

ykethan commented Apr 26, 2024

@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 ykethan added the pending-response Issue is pending response from the issue author label Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation Issues tied to installation of the CLI pending-response Issue is pending response from the issue author pending-triage Issue is pending triage
Projects
None yet
Development

No branches or pull requests

2 participants