Closed luowenx closed 1 year ago
AWS Toolkit makes requests using the AWS SDK which uses the nodejs network layer. If TLS or network fails, AWS Toolkit can't proceed.
Are you behind a proxy?
After I added the proxy, it didn't work either
the logs: 2023-06-21 09:59:34 [INFO]: selected AWS ID sign in 2023-06-21 09:59:34 [ERROR]: API response (oidc.us-east-1.amazonaws.com /client/register): { errno: -61, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 7890 } 2023-06-21 09:59:34 [ERROR]: API response (oidc.us-east-1.amazonaws.com /client/register): { errno: -61, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 7890 } 2023-06-21 09:59:34 [ERROR]: API response (oidc.us-east-1.amazonaws.com /client/register): { errno: -61, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 7890 } 2023-06-21 09:59:34 [ERROR]: aws.codeWhisperer.sso: Error: Failed to connect to AWS Builder ID [FailedToConnect] -> Error: connect ECONNREFUSED 127.0.0.1:7890 [ECONNREFUSED]
Thanks! uncheck Http: Proxy Strict SSL and it worked.
Thanks for the followup! Closing in favor of these tracking issues:
System details (run the
AWS: About Toolkit
command)Question
CodeWhisperer --> Start -- selected AWS Builder ID -- > not open
the logs: 2023-06-16 20:49:56 [INFO]: selected AWS ID sign in 2023-06-16 20:49:57 [ERROR]: API response (oidc.us-east-1.amazonaws.com /client/register): { code: 'ECONNRESET', path: undefined, host: undefined, port: undefined, localAddress: undefined, name: 'TimeoutError' } 2023-06-16 20:49:57 [ERROR]: API response (oidc.us-east-1.amazonaws.com /client/register): { code: 'ECONNRESET', path: undefined, host: undefined, port: undefined, localAddress: undefined, name: 'TimeoutError' } 2023-06-16 20:49:58 [ERROR]: API response (oidc.us-east-1.amazonaws.com /client/register): { code: 'ECONNRESET', path: undefined, host: undefined, port: undefined, localAddress: undefined, name: 'TimeoutError' } 2023-06-16 20:49:58 [ERROR]: aws.codeWhisperer.sso: Error: Failed to connect to AWS Builder ID [FailedToConnect] -> TimeoutError: Client network socket disconnected before secure TLS connection was established [ECONNRESET]