-
Notifications
You must be signed in to change notification settings - Fork 514
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
Hangs on startup after trying to use credential_process #855
Comments
Thank you for the detailed information. Looks like there are some things to investigate. In the meantime, would you be able to try connecting with credentials that use only |
Hey, I thought I'd address some portions of your comments...
These appear to be call stack entries, which corresponds to the extension's code being executed. The toolkit shouldn't be making changes in here at run-time.
These type of occurrences should surface as error nodes in the AWS Explorer tree (see image below). These nodes have a context menu, which will show you the error message as well. If this is not the experience you got, I'm interested in hearing what happens in your case. (You may have hit an error before the tree was able to populate)
When the log level setting is changed, it currently does not take effect until VS Code is restarted. I've opened #860 to track this. (Having said that, we could stand to use some more logging)
This sounds like it is related to the combination of credential_process and source_profile, which still needs to be investigated. |
I noticed that the current version of AWS toolkit (Version: 1.4.0) doesn't respect/use
Even though the default profile has the ability to AssumeRole on the staff profile, the toolkit throws a "missing credentials error message". Apologies if this is unrelated. |
Hi @zerkz Looks like we forgot to update this; we released a new credential handling system in January; are you still running into this issue? Thanks! |
AWS Toolkit for Visual Studio Code doesn't launch properly, and doesn't say why.
To Reproduce
credentials_process
andsource_profile
, where thesource_profile
also hasmfa_serial
~/.vscode/extensions/amazonwebservices.aws-toolkit-vscode-1.4.0
and the error belowReckon it might have tangled its storage after this:
… so if you're in the mood to split a bug with multiple causes, you'll want one to catch the
AccessDeniedException
and help the user fix it rather than tangling your state.I'm not sure why that resulted in the explorer hanging, but eventually something timed out or otherwise resolved and I got some proper errors:
… revealing that you didn't use the
credential_process
. Searching with that as a keyword…credential_process
support. #617 for a design document, which kinda implies it doesn't workNow that the AWS Explorer menu is working again, it offers “Connect to AWS…”, which is right. But, it's still not using the
credential_process
, so I'm still getting errors.I can't reproduce the hang.
Despite
"aws.logLevel": "verbose"
in mysettings.json
, there are no log messages either in VS Code's Output or inCode/logs/aws_toolkit
since the one above.Expected behavior
I expect AWS Explorer to use my profile, even if I'm using
credential_process
, so it can fit in with my existing AWS practices.I expect AWS Explorer to provide extra log detail when I set
"aws.logLevel": "verbose"
so I can help its developers solve the problem.Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: