question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Intermittent 'ProfileInformation' error when logging in

See original GitHub issue

We have been successfully using aws-google-auth for months and it’s been great. Starting Monday 2/24 we started Intermittently seeing the error below. I disabled 2fa on my GSuite account but it did not help. Is anyone else seeing this?

$ aws-google-auth -d 43200 -ak
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'

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:52
  • Comments:36 (7 by maintainers)

github_iconTop GitHub Comments

32reactions
nonspecialistcommented, Feb 27, 2020

I have a fix for this that I’m just validating now … it’s worked for me on the “new” page, I’m just cleaning it up before pushing

14reactions
roblugtoncommented, Feb 27, 2020

@JorgenSmith The problem comes from Google returning a different login page on some requests (as @celliott points out), the html source of which does not contain the information that aws-google-auth is looking for.

We’re taking a look at this at the moment.

Read more comments on GitHub >

github_iconTop Results From Across the Web

intermittent login issue: "The User Profile Service service
The remote procedure call failed and did not execute." Hello, I am having an intermittent problem with logging into my Windows 7 computer....
Read more >
Error log analysis: statistical modeling and heuristic trend ...
Abstract: Most error-log analysis studies perform a statistical fit to the data assuming a single underlying error process. The authors present the results ......
Read more >
Intermittent Login Issue While Login To Partner Manager Portal.
While logging in to Partner Manager Portal with Admin user, an intermittent error message "Login failed, error is Bad Request" is being ...
Read more >
Authenticate with a backend server - Google Developers
If you use Google Sign-In with an app or site that communicates with a backend server, ... Log.e(TAG, "Error sending ID token to...
Read more >
US20190243753A1 - Intermittent failure metrics in technological ...
Intermittent failure metrics in technological processes ... can include system logs, network packet data, sensor data, application program data, error logs, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found