New issue
Advanced search Search tips

Issue 726478 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

chrome://chrome-signin is broken on mac

Project Member Reported by wylieb@chromium.org, May 25 2017

Issue description

Chrome Version: ToT
OS: OSX 10.12.4

chrome://chrome-signin is still broken on mac on ToT.
1. When I navigate there, I'm allowed through email/password. After I hit enter on my password I get a dialog that reads:
Can't sign in
Service unavailble; try again later.
2. Help link leads here: https://support.google.com/chrome/answer/3097271?visit_id=0-636313383972226136-1672455844&rd=1.


 

Comment 1 by wylieb@chromium.org, May 25 2017

Cc: wylieb@chromium.org s...@chromium.org lfg@chromium.org
+multiple for work on a related issue.

Related issue:  crbug.com/709117 

Comment 2 by wylieb@chromium.org, May 25 2017

Description: Show this description

Comment 3 by lfg@chromium.org, May 25 2017

Labels: -Pri-3 Pri-1
Owner: wjmaclean@chromium.org
+wjmaclean for triage/reassigning.

Cc: wjmaclean@chromium.org rdevlin....@chromium.org lazyboy@chromium.org
Owner: msarda@chromium.org
I can reproduce this. Console output from a login attempt shown below:

[38345:775:0526/094347.587132:INFO:CONSOLE(2572)] "Uncaught TypeError: a.match is not a function", source: https://accounts.google.com/ServiceLogin?skipvpage=true&sarp=1&rm=hide&continue=chrome-extension%3A%2F%2Fmfffpogegjflfpflabcdkioaeobkgjik%2Fsuccess.html%3Faccess_point%3D17%26source%3D13&service=chromiumsync&hl=en-US (2572)
[38345:775:0526/094347.588111:INFO:CONSOLE(2572)] "Uncaught TypeError: a.match is not a function", source: https://accounts.google.com/ServiceLogin?skipvpage=true&sarp=1&rm=hide&continue=chrome-extension%3A%2F%2Fmfffpogegjflfpflabcdkioaeobkgjik%2Fsuccess.html%3Faccess_point%3D17%26source%3D13&service=chromiumsync&hl=en-US (2572)
[38345:47627:0526/094348.915960:WARNING:notification_platform_bridge_mac.mm(508)] AlertNotificationService: XPC connection interrupted.
[38345:775:0526/094414.810124:INFO:CONSOLE(2688)] "Credentials sent", source: https://accounts.google.com/ServiceLogin?skipvpage=true&sarp=1&rm=hide&continue=chrome-extension%3A%2F%2Fmfffpogegjflfpflabcdkioaeobkgjik%2Fsuccess.html%3Faccess_point%3D17%26source%3D13&service=chromiumsync&hl=en-US (2688)
[38345:775:0526/094415.180259:WARNING:CONSOLE(2358)] "Authenticator: No password scraped for SAML.", source: chrome://chrome-signin/gaia_auth_host.js (2358)
[38345:775:0526/094415.238038:WARNING:gaia_auth_fetcher.cc(724)] ClientLogin failed with 
[38345:775:0526/094415.238130:WARNING:gaia_auth_fetcher.cc(745)] Incomprehensible response from Google Accounts servers.
[38354:775:0526/094415.978427:ERROR:render_process_impl.cc(171)] WebFrame LEAKED 1 TIMES
[38345:775:0526/094416.019191:INFO:CONSOLE(6)] "SW registered", source: https://www.google.ca/_/chrome/newtab?espv=2&ie=UTF-8 (6)
[38345:775:0526/094416.794689:ERROR:CONSOLE(1)] "Uncaught ReferenceError: inline is not defined", source:  (1)

This looks like it is related to the 
ugh ... that got sent before I was done ...

This looks related to the previous issue, and to gaia signin-in in general, and/or the login extension, so I'm assigning it to msarda@ for triage. Adding in extensions folks also.

Comment 6 by msarda@chromium.org, May 29 2017

Labels: Needs-Feedback
1. Did you set the API keys (client ID and secret) as explained here: https://www.chromium.org/developers/how-tos/api-keys ?


I think there is an issue with the test API keys that were not whitelisted on the server. Is teh sign-in working if you are using the sign-in from from settings (open chrome://settings and tap on the Sign in to Chromium)?

I just tried the sign-in from the settings page. It still fails, although silently (i.e. without showing the dialog). But the console log messages look the same.

Comment 8 by msarda@chromium.org, May 29 2017

Did you set the API keys (client ID and secret) as explained here: https://www.chromium.org/developers/how-tos/api-keys ?
No ... I've never run into that before.

If that's the problem, then perhaps we should provide a more meaningful message to the user?
Labels: -Pri-1 Pri-2
Tested back to 56.0.2924.99, with the same behavior. Suspecting API keys is the issue.
Status: WontFix (was: Untriaged)
Ok, it looks like my comment from earlier today was not submitted.

I tested this on ToT today and everything is working fine. The problem were most probably the API keys. Note that Chromium does show a special infobar when started without the API keys saying that some features will not be available (that includes sign-in). It is not clear to me if we want to do additional messaging for sign-in.

For Googlers: chrome://chrome-signin is using a special internal endpoint that requires whitelisting, and the internal testing client ID was not correctly whitelisted. This is now fixed.
I'm curious: I just went back and tested again on a Chromium build (on Mac), on an internal machine; I got no info bar regarding starting without API keys (nor any console info/error message), but still logging in from either chrome://chrome-signin or the settings page failed. Is this expected then?

When I try a ToT build on linux, the signin page also fails (and no infobar), but signing in via the settings page works.
On ToT+mac, I made sure the keys were installed. Not sure if it was a key problem on my end or not, but I suspect not.
Cc: msarda@chromium.org ew...@chromium.org jlebel@chromium.org bsazonov@chromium.org
 Issue 723862  has been merged into this issue.

Sign in to add a comment