aws-extend-switch-roles icon indicating copy to clipboard operation
aws-extend-switch-roles copied to clipboard

Plugin no longer works (empty account list)

Open Gh0stExp10it opened this issue 1 year ago • 8 comments

Describe the bug Difficult to describe what no longer works. Unfortunately, I haven't seen any entries/accounts in the plugin for some time now. Nothing has changed in my configuration for about 2 years.

My Config looks like this:

[organization1]
aws_account_id = 000011112222
region = eu-central-1

[org1-account1-admin]
aws_account_id = 123456789012
role_name = admin
source_profile = organization1
color = 5fbf77

Screenshots Screenshot_Plugin

Environment

  • Chrome Browser

Gh0stExp10it avatar Feb 13 '24 09:02 Gh0stExp10it

After years of using this successfully I could not today. I tried clicking option "Show only matching roles" (filters to only show profiles with roles that match your role in your master account.) - and it is working again.

ray-nichols-strat7 avatar Mar 05 '24 21:03 ray-nichols-strat7

After years of using this successfully I could not today. I tried clicking option "Show only matching roles" (filters to only show profiles with roles that match your role in your master account.) - and it is working again.

Thanks for the hint. Unfortunately this isn't working for me. The list is still empty, after I've checked the option "Show only matching roles". For now and until this might be fixed, I'm using another Plugin with the name aws-role-switch (also open source on GitHub).

Gh0stExp10it avatar Mar 06 '24 10:03 Gh0stExp10it

I've got the same, but clicking on the key icon twice "fixes" the issue: the first time the list is empty, the second time it's filled. I never had this issue before, but after moving to a new laptop (M3), this happens. I'm using Firefox 123.0.1 (64-bit).

erikpragt-connectid avatar Mar 11 '24 00:03 erikpragt-connectid

I have the exact same issue, also right after I moved to a new laptop. Same version of Firefox as well, maybe there was an update? I thought I was going crazy ;-)

If it helps, I turned on debugging and saw this error when I first try to bring up the list: Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist. executeAction moz-extension://56ce359b-4d99-4e18-92e3-983ef3a348c4/js/popup.js:751

Line 751 is this function: async function executeAction(tabId, action, data) { return (chrome || browser).tabs.sendMessage(tabId, { action, data }); }

jacobb84 avatar Mar 13 '24 15:03 jacobb84

Naturally right after I posted I found this thread that fixed the issue for me: https://github.com/tilfinltd/aws-extend-switch-roles/issues/330

jacobb84 avatar Mar 13 '24 16:03 jacobb84

I'm also facing the same issue. It seems to have been fixed for now after save the configuration.

krymtkts avatar Apr 11 '24 04:04 krymtkts

Can confirm, clicking "Save" fixed the same issue for me, too!

AdrianSimionov avatar Apr 26 '24 04:04 AdrianSimionov