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

Issue 844250 link

Starred by 8 users

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Can only log into Gmail with Incognito mode

Reported by kante...@gmail.com, May 18 2018

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1 Safari/605.1.15

Steps to reproduce the problem:
1. Go to Gmail
2. Enter credentials
3. Get message: "Something went wrong. Sorry, something went wrong there. Try again."
4. Create Incognito window
5. Go to Gmail
6. Enter credentials
7. Read email

What is the expected behavior?
To be able to read Gmail in Chromium whether I use regular mode or Incognito mode.

What went wrong?
See the above. I can only log into Gmail with Incognito mode. I am able to log in to Gmail without issues using Safari. I will attach a copy of the error window that pops up.

Did this work before? Yes Mac developer edition about 2 weeks ago?

Chrome version: <Copy from: 'about:version'>  Channel: n/a
OS Version: OS X 10.13.4
Flash Version: 

My chromium version: Version 68.0.3433.0 (Developer Build) (64-bit)
 
something-went-wrong.png
172 KB View Download
Labels: -Type-Bug-Security -Restrict-View-SecurityTeam Type-Bug
This isn't a security issue and sounds like a bug in the GMail website. You can very likely fix this issue by clearing your cookies for GMail.

Try visiting chrome://settings/siteData?search=cookies and delete the cookies for mail.google.com and optionally Google.com.

(Alternatively, hit F12 to open the Developer Tools. Click the Application tab. Clear the items from the STORAGE subarea).

Comment 2 by kante...@gmail.com, May 18 2018

That's the problem: This still happens despite clearing the cache and shutting off all extensions. I can try a few more things to see if I can get it to work.
By "clearing the cache" are you including Cookies?

Are you currently logged into Chrome itself (see the top right of the window frame)?

Comment 4 by kante...@gmail.com, May 18 2018

I am clearing everything for "All of time." I'm not logged in to Chromium because I can't. If I can't log in to Gmail I can't log in to Chromium.
Labels: Needs-Triage-M68
Labels: Needs-Feedback
Try going to chrome://extensions and disabling all of the extensions. This is often the cause of things only working in Incognito as Incognito only runs a subset of extensions.

Comment 7 by kante...@gmail.com, May 23 2018

Same problem.

1. Disabled all extensions.
2. Close Chromium.
3. Restart Chromium.
4. Attempt login.
5. Get second-factor response.
6. Enter second-factor response in Chromium.
7. Get same error in Chromium: "Something went wrong..."
Project Member

Comment 8 by sheriffbot@chromium.org, May 23 2018

Cc: robliao@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: rhalavati@chromium.org
Labels: Needs-Bisect
Components: Services>SignIn
Labels: -Type-Bug -Pri-2 -Needs-Bisect M-68 ReleaseBlock-Stable RegressedIn-68 Triaged-ET Target-68 FoundIn-68 hasbisect OS-Linux OS-Windows Pri-1 Type-Bug-Regression
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on Windows 10, mac 10.13.3 and Ubuntu 17.10 using chromium dev build #68.0.3433.0.

Bisect Information:
=====================
Good build: 68.0.3420.0 Revision(556021)
Bad Build : 68.0.3421.0 Revision(556246)

Change Log URL: 
https://chromium.googlesource.com/chromium/src/+log/77cabfa82c67864efceacaa9c3535207fb7196ea..631f3b472d49830f9e09a0eb4d0660b6970e4e7a

Unable to find any possible suspect from the above change log. Hence, marking it as untriaged and requesting some one from Services>SignIn team to please help us in assigning it to the right owner.
Note: Adding stable blocker for M-68 as it seems to be a recent regression. Please feel free to remove the same if not appropriate. 

Thanks...!!
kanterdj@gmail.com: Is this a local developer build of Chromium? If so, then you need to set API keys to sign in to Google on the web from the regular profile - please follow the instructions at https://www.chromium.org/developers/how-tos/api-keys to create and add an API key to your local build.

Comment 13 by kante...@gmail.com, May 25 2018

This is a downloaded nightly binary from the Chromium went site. I've never
had to use API keys before. Has something changed?
Cc: msarda@chromium.org
msarda@,
Friendly ping.

Please respond to C#13.
Thanks..!
Cc: susan.boorgula@chromium.org
 Issue 847142  has been merged into this issue.
Owner: msarda@chromium.org
Status: Assigned (was: Untriaged)
As per comment #11, assigning it to msarda@ from the change log as follows:

Change Log URL: 
https://chromium.googlesource.com/chromium/src/+log/77cabfa82c67864efceacaa9c3535207fb7196ea..631f3b472d49830f9e09a0eb4d0660b6970e4e7a

From the above change log suspecting below change
Change-Id: I752bf7e9e03da0ddd33841e42ec1c550fcaf91c7
Reviewed-on: https://chromium-review.googlesource.com/1044210

msarda@ - Could you please check whether this is caused with respect to your change, if not please help us in assigning it to the right owner.
Note: Adding stable blocker for M-68 as it seems to be a recent regression. Please feel free to remove the same if not appropriate.

Thanks...!!
kanterdj@gmail.com: [TL;DR] API keys are needed to sign in to Gmail from Chromium builds.

My CL https://chromium-review.googlesource.com/c/chromium/src/+/1044210 enabled miltestone 2 of Desktop Identity Consistency for developer builds and some bots. Starting with this CL, Chrome will retrieve a OAuth2 login scope token for all accounts when the user signs in to Google web (e.g gmail). This makes the API keys required for developer builds in order to sign in to Gmail.

I will send an email about this to chromium-dev@ (that has slipped somehow).


This should presumably be resolved "Won't Fix", right?
Status: WontFix (was: Assigned)
Correct.
Cc: divya.pa...@techmahindra.com
 Issue 789373  has been merged into this issue.
Owner: droger@chromium.org
Status: Assigned (was: WontFix)
I think we should look into this as I was wrong in comment #17 - Google web sign-in should continue to work if there are no client IDs configured.

David: Would you have time to take a look at this issue this week? If not, then please assign it to me and I will take a look next week.
Cc: -robliao@chromium.org
Labels: Restrict-View-Google Needs-Feedback
kanterdj: You should still be able to sign into gmail. Is this still happening? 
If so, can you post a screenshot of chrome://signin-internals ?

I'm making the bug private to Google (Restrict-View-Google), because this webpage may contain personal information.

After taking the screenshot, can you go to chrome://flags/#account-consistency and change the value in "Identity consistency between browser and cookie jar" to "Enabled Dice (fix auth errors)", restart Chrome and check if the problem is fixed?

kanterdj@, Please update the bug as per C#23.
Thanks..!
Status: Started (was: Assigned)
We understand the issue now, working on a fix.
droger@ Will it be possible to mark this bug as public, as many users are reporting this issue?

Thanks..
Labels: -Restrict-View-Google
Yes, making the bug public again.

kanterdj: we no longer need your additional information.
Project Member

Comment 28 by bugdroid1@chromium.org, Jun 13 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4fd11d48d6c82826fe8c84aaaf81d9449d81c23e

commit 4fd11d48d6c82826fe8c84aaaf81d9449d81c23e
Author: David Roger <droger@chromium.org>
Date: Wed Jun 13 15:05:29 2018

[signin] Fix account consistency value on the IO thread

The account consistency was wrong on the IO thread: it was rebuilt
from the Finch experiment config and the migration pref. However
this is not enough, and edge cases were missed, such as supervised
profiles and missing client ID.

This CL no longer rebuilds the account consistency method on the IO
thread, but instead simply passes the value from the UI thread.

Bug:  844250 
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo
Change-Id: I735005277823196a31553cc85010ca0c89eed30b
Reviewed-on: https://chromium-review.googlesource.com/1097403
Commit-Queue: David Roger <droger@chromium.org>
Reviewed-by: Charlie Harrison <csharrison@chromium.org>
Reviewed-by: Mihai Sardarescu <msarda@chromium.org>
Cr-Commit-Position: refs/heads/master@{#566832}
[modify] https://crrev.com/4fd11d48d6c82826fe8c84aaaf81d9449d81c23e/chrome/browser/loader/chrome_resource_dispatcher_host_delegate_browsertest.cc
[modify] https://crrev.com/4fd11d48d6c82826fe8c84aaaf81d9449d81c23e/chrome/browser/profiles/profile_io_data.cc
[modify] https://crrev.com/4fd11d48d6c82826fe8c84aaaf81d9449d81c23e/chrome/browser/profiles/profile_io_data.h
[modify] https://crrev.com/4fd11d48d6c82826fe8c84aaaf81d9449d81c23e/chrome/browser/signin/account_consistency_mode_manager.cc
[modify] https://crrev.com/4fd11d48d6c82826fe8c84aaaf81d9449d81c23e/chrome/browser/signin/account_consistency_mode_manager.h
[modify] https://crrev.com/4fd11d48d6c82826fe8c84aaaf81d9449d81c23e/chrome/browser/signin/chrome_signin_helper.cc
[modify] https://crrev.com/4fd11d48d6c82826fe8c84aaaf81d9449d81c23e/chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.cc
[modify] https://crrev.com/4fd11d48d6c82826fe8c84aaaf81d9449d81c23e/components/signin/core/browser/profile_management_switches.cc
[modify] https://crrev.com/4fd11d48d6c82826fe8c84aaaf81d9449d81c23e/components/signin/core/browser/profile_management_switches.h
[modify] https://crrev.com/4fd11d48d6c82826fe8c84aaaf81d9449d81c23e/components/signin/core/browser/profile_management_switches_unittest.cc
[modify] https://crrev.com/4fd11d48d6c82826fe8c84aaaf81d9449d81c23e/testing/buildbot/filters/mojo.fyi.network_browser_tests.filter

Status: Fixed (was: Started)
This should be fixed now.

Note: the bug was only happening for developer builds (i.e. Chromium) with missing API keys.
Signing into a Google website (like gmail), on a non-incognito profile, now uses the API keys if they are present. There was a bug in the way we check for the presence of the API keys, and the codepath using the API keys was used even when in the absence of the keys, which caused a login error.
Labels: Merge-TBD
[Auto-generated comment by a script] We noticed that this issue is targeted for M-68; it appears the fix may have landed after branch point, meaning a merge might be required. Please confirm if a merge is required here - if so add Merge-Request-68 label, otherwise remove Merge-TBD label. Thanks.
droger@ do we need to merge this to M68? 
Labels: -Merge-TBD -ReleaseBlock-Stable -Target-68
No, we don't need to merge this. It is related to developer builds, which are not using Chrome branches.

Updating labels.
 Issue 851857  has been merged into this issue.

Sign in to add a comment