Closed EleoDonald closed 1 year ago
Try clicking on the "AWS" icon in the vscode sidebar. If there is still an issue, try Sign Out
in the context menu and then login again.
Hi @EleoDonald
Are you attempting to connect through the status bar item? The item showing before you connect is a bug that will be fixed in the next release.
Try connecting CodeWhisperer through the AWS explorer instead:
Try clicking on the "AWS" icon in the vscode sidebar. If there is still an issue, try
Sign Out
in the context menu and then login again.
Pause and resume, then sign in with my AWS builder ID works.
AWS Toolkit 1.72 includes https://github.com/aws/aws-toolkit-vscode/pull/3402 which should resolve this.
2023-04-29 17:08:31 [ERROR]: log level: info 2023-04-29 17:08:31 [INFO]: endpoints: retrieving AWS endpoints data 2023-04-29 17:08:31 [INFO]: OS: Windows_NT x64 10.0.19044 2023-04-29 17:08:31 [INFO]: Visual Studio Code extension host: 1.77.3 2023-04-29 17:08:31 [INFO]: AWS Toolkit: 1.71.0 2023-04-29 17:08:31 [INFO]: node: 16.14.2 2023-04-29 17:08:31 [INFO]: electron: 19.1.11 2023-04-29 17:08:31 [WARN]: auth: error deleting old files in sso cache: Error: ENOENT: no such file or directory, scandir 'C:\Users\user.aws\sso\cache' [ENOENT] 2023-04-29 17:08:31 [INFO]: telemetry cache not found: 'c:\Users\user\AppData\Roaming\Code\User\globalStorage\amazonwebservices.aws-toolkit-vscode\telemetryCache' 2023-04-29 17:08:31 [WARN]: AwsContext: no default region in credentials profile, falling back to us-east-1: 2023-04-29 17:08:31 [WARN]: CloudFormationTemplateRegistry: addWatchPattern(/*.{yaml,yml}): no workspace 2023-04-29 17:08:33 [WARN]: CodelensRootRegistry: addWatchPattern(/requirements.txt): no workspace 2023-04-29 17:08:33 [WARN]: CodelensRootRegistry: addWatchPattern(/package.json): no workspace 2023-04-29 17:08:33 [WARN]: CodelensRootRegistry: addWatchPattern(*/.csproj): no workspace 2023-04-29 17:08:33 [WARN]: CodelensRootRegistry: addWatchPattern(/go.mod): no workspace 2023-04-29 17:08:33 [WARN]: CodelensRootRegistry: addWatchPattern(/build.gradle): no workspace 2023-04-29 17:08:33 [WARN]: CodelensRootRegistry: addWatchPattern(/pom.xml): no workspace 2023-04-29 17:33:38 [INFO]: telemetry: sent batch (size=13) 2023-04-29 17:38:39 [INFO]: telemetry: sent batch (size=1) 2023-04-29 17:39:08 [ERROR]: aws.codeWhisperer.reconnect: Error: Unable to authenticate connection -> TypeError: Cannot destructure property 'id' of 'undefined' as it is undefined. 2023-04-29 17:39:09 [ERROR]: aws.codeWhisperer.reconnect: Error: Unable to authenticate connection -> TypeError: Cannot destructure property 'id' of 'undefined' as it is undefined. 2023-04-29 17:39:10 [ERROR]: aws.codeWhisperer.reconnect: Error: Unable to authenticate connection -> TypeError: Cannot destructure property 'id' of 'undefined' as it is undefined. 2023-04-29 17:39:39 [ERROR]: aws.codeWhisperer.reconnect: Error: Unable to authenticate connection -> TypeError: Cannot destructure property 'id' of 'undefined' as it is undefined. 2023-04-29 17:41:52 [ERROR]: aws.codeWhisperer.reconnect: Error: Unable to authenticate connection -> TypeError: Cannot destructure property 'id' of 'undefined' as it is undefined. 2023-04-29 17:42:39 [ERROR]: aws.codeWhisperer.reconnect: Error: Unable to authenticate connection -> TypeError: Cannot destructure property 'id' of 'undefined' as it is undefined. 2023-04-29 17:43:28 [ERROR]: aws.codeWhisperer.reconnect: Error: Unable to authenticate connection -> TypeError: Cannot destructure property 'id' of 'undefined' as it is undefined. 2023-04-29 17:43:32 [ERROR]: aws.codeWhisperer.reconnect: Error: Unable to authenticate connection -> TypeError: Cannot destructure property 'id' of 'undefined' as it is undefined. 2023-04-29 17:43:40 [INFO]: telemetry: sent batch (size=12) 2023-04-29 17:45:26 [ERROR]: aws.codeWhisperer.reconnect: Error: Unable to authenticate connection -> TypeError: Cannot destructure property 'id' of 'undefined' as it is undefined. 2023-04-29 17:45:39 [ERROR]: aws.codeWhisperer.reconnect: Error: Unable to authenticate connection -> TypeError: Cannot destructure property 'id' of 'undefined' as it is undefined. 2023-04-29 17:46:46 [ERROR]: aws.codeWhisperer.reconnect: Error: Unable to authenticate connection -> TypeError: Cannot destructure property 'id' of 'undefined' as it is undefined. 2023-04-29 17:46:46 [ERROR]: aws.codeWhisperer.reconnect: Error: Unable to authenticate connection -> TypeError: Cannot destructure property 'id' of 'undefined' as it is undefined. 2023-04-29 17:47:33 [ERROR]: aws.codeWhisperer.reconnect: Error: Unable to authenticate connection -> TypeError: Cannot destructure property 'id' of 'undefined' as it is undefined. 2023-04-29 17:48:41 [INFO]: telemetry: sent batch (size=11) 2023-04-29 17:50:41 [ERROR]: aws.codeWhisperer.reconnect: Error: Unable to authenticate connection -> TypeError: Cannot destructure property 'id' of 'undefined' as it is undefined.