cevoaustralia / aws-google-auth

Provides AWS STS credentials based on Google Apps SAML SSO auth (what a jumble!)
MIT License
538 stars 180 forks source link

ERROR:root:'NoneType' object has no attribute 'get' #167

Closed citizenkahn closed 4 years ago

citizenkahn commented 4 years ago

It seems like a variant of #52 is back or at least for several of us. We see this intermittently and it seems to happen on multiple machine in multiple network environments (home, office, vpn / no vpn). Usually we see 1-3 failure before a success.

Environment

Error

ERROR:root:'NoneType' object has no attribute 'get'
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/aws_google_auth/__init__.py", line 73, in cli
    process_auth(args, config)
  File "/usr/local/lib/python3.7/site-packages/aws_google_auth/__init__.py", line 218, in process_auth
    google_client.do_login()
  File "/usr/local/lib/python3.7/site-packages/aws_google_auth/google.py", line 228, in do_login
    'name': 'ProfileInformation'
AttributeError: 'NoneType' object has no attribute 'get'
SpamapS commented 4 years ago

Confirmed, this is happening to folks in my org too.

SpamapS commented 4 years ago

Just worked for me after 15 retries.

Maybe it's just a different version of the challenge page.

seanlutner commented 4 years ago

Definitely have been seeing this error frequently lately. Sometimes it works 1 second later and sometimes it fails for a few hours.

stevemac007 commented 4 years ago

Looks like google is making changes to the login flow... again.. Will need to dig into more reverse engineering to understand the impact of the change.

barryoneill commented 4 years ago

duplicate of https://github.com/cevoaustralia/aws-google-auth/issues/164?

citizenkahn commented 4 years ago

Yes a dupe. Closed it. and I'll follow the other