aws / aws-toolkit-vscode

Amazon Q, CodeCatalyst, Local Lambda debug, SAM/CFN syntax, ECS Terminal, AWS resources
https://marketplace.visualstudio.com/items?itemName=AmazonWebServices.amazon-q-vscode
Apache License 2.0
1.47k stars 408 forks source link

Unable to connect AWS CodeWhisperer from VS Code #3335

Closed arnabnandy7 closed 1 year ago

arnabnandy7 commented 1 year ago

Problem

Steps to reproduce the issue

  1. In the AWS Toolkit for Visual Studio Code, under Developer tools, under CodeWhisperer, select Start. A dropdown menu will appear at the top of VS Code.
  2. From the dropdown menu, select Use a personal email to sign up and sign in with AWS Builder ID
  3. At the prompt Copy Code for AWS Builder ID. To proceed, open the login page and provide this code to confirm the access request: XXXX-XXXX
  4. Upon clicking Copy to clipboard, it continously searching for the login page and the action but nothing appears in any browser and it gets timed out after certain time. image

Expected behavior

  1. In the AWS Toolkit for Visual Studio Code, under Developer tools, under CodeWhisperer, select Start. A dropdown menu will appear at the top of VS Code.
  2. From the dropdown menu, select Use a personal email to sign up and sign in with AWS Builder ID
  3. At the prompt Copy Code for AWS Builder ID. To proceed, open the login page and provide this code to confirm the access request: XXXX-XXXX
  4. Upon clicking Copy to clipboard, it should open login page where I should submit the code to confirm.

System details (run the AWS: About Toolkit command)

awsanakkala commented 1 year ago

@arnabnandy7 - It is unusual that nothing opened in a browser. Can you please try again after restarting the IDE or browser windows and let us know.? These steps shouldn't be needed but it will help us troubleshoot.

arnabnandy7 commented 1 year ago

@awsanakkala you were right somehow it was not able to open the browser window since it was already opened. Now it's enabled and tested as well. image