Open alfred-stokespace opened 1 year ago
I've had issues that sounds very similar before and it was because it was waiting on dbus-daemon
to respond for the keychain. I don't have a keychain provider installed (I'm using WSL2 which is not a desktop GUI).
My workaround was to append --disable-keychain
at the end and it was working lightning quick after that. Hope that helps!
(When I was looking into the issue deeper a year ago, I discovered that there was a known bug with the library that saml2aws
uses to facilitate that feature, I don't know if it's fixed and it was sufficiently long ago that I don't remember the library or issue details anymore)
At the beginning of my day I successfully issue the following command ...
That DOES NOT pause. However, if I immediately (or later in the day) do anything so much as basic interaction with saml2aws, like say ask for the version (
saml2aws --version
) ; I'm required to pause 120 seconds before the version is displayed; or if I'm trying to login to another AWS account; same thing I'm required to wait 120 seconds before username prompt.I decided to see what strace thought was happening, but didn't get much out of that...
Find the pid
ps -efww | grep saml2aws
...use the pid found with strace
sudo strace -p ...
outputafter the 120 seconds are up the strace continues with...
that strace continues until the process exits.
I do in fact get the version at the end
2.36.10
of if I had asked to login with a different profile, I am able to successfully login. Waiting 2 minutes is a real pain though.