New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 621378 link

Starred by 9 users

Issue metadata

Status: Duplicate
Merged: issue 631171
Owner: ----
Closed: Sep 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Browser loses sign-in state when re-launched

Reported by gwh...@kupulau.com, Jun 19 2016

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2767.4 Safari/537.36

Steps to reproduce the problem:
1. Launch chrome
2. Sign in to your google account
3. Note that sign in succeeded.
4. Exit and re-launch.  Make sure all instances are gone prior to restart.
5. Note that you are not signed in, anywhere.

What is the expected behavior?
Sign in state should persist.

What went wrong?
Sign in state did not persist.

Did this work before? N/A 

Chrome version: 53.0.2767.4  Channel: dev
OS Version: 
Flash Version: Shockwave Flash 22.0 r0

As you'd expect, this is across *all* websites (since the profile is apparently re-synced?)

I blew away my profile directory and did a clean setup, just to be sure, and the problem persisted.
 
Cc: rnimmagadda@chromium.org
Labels: Needs-Feedback
Unable to repro this issue on Ubuntu Trusty (14.04) for Google Chrome Dev Version - 53.0.2767.4

Screen-recording is attached.

@gwhite: Could you please re-test the same on a clean profile [chrome://settings -> Add Person] and let us know your observations.

Thank you.
621378.ogv
9.7 MB View Download

Comment 2 by gwh...@kupulau.com, Jun 20 2016

I did start from a fresh profile.

My bad.  It would appear that a restart of gnome-keyring-daemon is required.

Here's how I got this to reproduce:

(1) Start with a fresh Chrome profile and kill gome-keyring-daemon.  You can also delete the keyring called 'Default keyring', just to start from scratch.

(2) Launch chrome.  gome-profile-daemon should prompt you to create Default keyring.  Do this thing.

(3) Login to chrome.

(4) Exit chrome.

(5) Kill gnome-keyring-daemon [nb: this basically simulates restarting your login session, from the keyring point of view.]

(6) Start chrome.

(7) Note that the chrome user profile now requires a sign in.
 
(8) If you look in Default keyring before/after killing the daemon, you will note that the chrome data is still there.

Comment 3 by gwh...@kupulau.com, Jun 20 2016

gnome-keyring-daemon version:

gwhite@ringle ~$ gnome-keyring-daemon --version
gnome-keyring-daemon: 3.20.0
testing: enabled


Comment 4 by gwh...@kupulau.com, Jun 20 2016

Also, note that gnome-keyring-daemon is *still* used, even if chrome is launched with --password-store=basic or --password-store=kwallet

Project Member

Comment 5 by sheriffbot@chromium.org, Jun 21 2016

Labels: -Needs-Feedback Needs-Review
Owner: rnimmagadda@chromium.org
Thank you for providing more feedback. Adding requester "rnimmagadda@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 6 by gwh...@kupulau.com, Jun 21 2016

One other data point: disabling gnome-keyring-daemon will fix this problem.  Hardly ideal.  Where is chrome storing my private data?  I don't see it connected to kwallet....
Components: Services>SignIn
Labels: -Needs-Review Te-NeedsFurtherTriage
Owner: ----
Could someone from Dev team please look into this issue.

The reporter has mentioned to disabling gnome-keyring-daemon.

Thank you.

Comment 8 by woo...@gmail.com, Sep 19 2016

Issue still present on Chromium 53.0.2785.116.
Tested on Arch Linux, Gnome keyring version: 3.20.0.
Cc: anthonyvd@chromium.org
 Issue 645287  has been merged into this issue.

Comment 10 by woo...@gmail.com, Sep 19 2016

If I manually unlock Gnome keyring before I start Chromium, everything is fine, but if Chromium triggers unlock prompt on start, he complains that user need to login again, I guess Chromium tried to retrive data from keyring before I entered password and therefore unlocked keyring, looks like some race condition, or some timeout for waiting user to unlock keyring is to small?
Any progress on this?
Issue 645474 has been merged into this issue.

Comment 13 by ew...@chromium.org, Sep 28 2016

Cc: mar...@google.com kcrossan@google.com
+ewald@, nothing changed in signin code that should affect this. I suspect there might have been a change to how Chrome interacts with gnome-keyring per #10 and other comments here and in the dupe bugs.

Any idea who could know how to triage this?
Cc: ew...@chromium.org cfroussios@chromium.org
+cfroussios, who's been working on OSCrypt. Any insight about this, especially considering comment #10? Thanks!

Comment 16 by ew...@chromium.org, Sep 28 2016

Cc: rpop@chromium.org
Components: -Services>SignIn
+Rachel for help triaging from desktop perspective

Comment 17 by rpop@chromium.org, Sep 28 2016

Cc: vasi...@chromium.org thomasanderson@chromium.org
+thomas for Linux, and +vasilii for password manager in case he knows what changed here or how to fix this
sounds like a dupe of  bug 631171 
cfroussios@ can you confirm?

Comment 19 by woo...@gmail.com, Sep 28 2016

I want to add that it works if I change default keyring to have no/empty password.

Also in password protected scenario in which Chromium prompts for password but requires re-authenticating, if I re-authenticate, stop Chromium, than manually lock keyring again, than start Chromium again, it will prompt for password and successfully unlock keyring, and will keep successfully unlocking (there is caveat) until one restart keyring daemon. Caveat is that it seems Chromium can't retrieve cookies in this case as I noticed that some sites' settings are be lost.

Comment 20 by woo...@gmail.com, Sep 28 2016

When re-authentication is required I see this in log:

[6634:6634:0928/213554:ERROR:account_tracker.cc(357)] OnGetTokenFailure: Not authorized.
[6634:6634:0928/213554:ERROR:account_tracker.cc(357)] OnGetTokenFailure: Not authorized.

After reauthenticating:

[6857:6897:0928/213740:ERROR:gcm_store_impl.cc(922)] Failed to restore security token.
[6857:6879:0928/213743:ERROR:mcs_client.cc(706)] Failed to log in to GCM, resetting connection.
[6857:6857:0928/213750:ERROR:data_type_manager_impl.cc(34)] Passwords cryptographer error was encountered: 

Then after restart:

[7078:7118:0928/213825:ERROR:gcm_store_impl.cc(627)] LevelDB remove failed: NotFound: 
[7078:7100:0928/213825:ERROR:mcs_client.cc(524)] GCM Update failed!

Mergedinto: 631171
Status: Duplicate (was: Unconfirmed)
This does sound like a duplicate of  issue 631171 . I'm going to merge it.

Sign in to add a comment