OAuth2LoginManager could stuck in the processing and cause ARC auth times out waiting for the refresh token.
Typical log:
[1597:1597:0525/140257.517469:VERBOSE1:oauth2_login_manager.cc(143)] OnRefreshTokenAvailable
...
[1597:1597:0525/140353.045099:WARNING:arc_auth_context.cc(121)] Failed to wait for refresh token.
Sample feedback:
https://feedback.corp.google.com/product/208/neutron?lView=rd&lReport=61659796645
The log seems suggest that OAuth2LoginManager::OnRefreshTokenAvailable is called but profile does not yet have the primary account id set. One hypothesis is that there is a race in UserSessionManager that it kicks start OAuth2LoginManager before it calls SetAuthenticatedAccountInfo.
Comment 1 by xiy...@chromium.org
, Jun 1 2017