aws-toolkit-jetbrains icon indicating copy to clipboard operation
aws-toolkit-jetbrains copied to clipboard

IDE Freezes if I change windows without logging into AWS on app startup

Open mrBungalow opened this issue 2 years ago • 1 comments

Describe the bug If I am not logged into AWS and I try to start my spring boot application, Intellij will have a little popup asking me log in. We are using accounts. Usually I log in first thing in the morning to get a token, but if I forget and navigate away from intellij without interacting with the popup box I cannot get back to the prompt and intellij will freeze up, forcing me to force kill the application and restart.

To reproduce

Open intellij without a valid AWS token.
Use run configuration to start my application locally. Forget to click on the 'login to aws required' button since my app takes 30 seconds to start. Come back to intellij expecting to see the app started but it has locked up. Do everything in your power to find the button again, but instead be forced to force stop and restart intellij - upon which you will remember to log in.

(Sorry for being a little cheeky here :) )

Expected behavior Forget to log in to aws, come back to intellij and still see the popup window asking you to log in.

Your Environment

  • OS: Mac Ventura 13.1 (ARM64)
  • JetBrains product: Intellij
  • JetBrains product version: Build #IU-223.8214.52, built on December 20, 2022
  • AWS Toolkit version: 1.57.223
  • SAM CLI version: none
  • JVM/Python version: AWS OpenJdk 17

Additional context It's most user error (just me being forgetful and impatient) but it would nice to be re-prompted when I come back to intellij that I haven't completed the AWS login process.

mrBungalow avatar Jan 17 '23 20:01 mrBungalow

I'm encountering similar issue - sometimes all IntelliJ windows become not reactive. I have impression it's because AWS MFA prompt waiting for token, but prompt is nowhere on screen. Only way to continue work is to kill all IntelliJ windows and start everything from scratch.

jmayday avatar Jan 10 '24 12:01 jmayday