Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 788172 - www-client/chromium-90.0.4430.93: Cannot turn on sync, log in/sign in not works
Summary: www-client/chromium-90.0.4430.93: Cannot turn on sync, log in/sign in not works
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-04 17:08 UTC by Szymon Scholz
Modified: 2023-09-24 05:50 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
strace log (chromium-browser-strace.log.xz,169.84 KB, application/x-xz)
2021-05-04 17:08 UTC, Szymon Scholz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Szymon Scholz 2021-05-04 17:08:25 UTC
Created attachment 706002 [details]
strace log

Fresh installation of chromium-browser

chromium-browser -v:
[7834:7867:0504/183119.335001:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[7834:7867:0504/183119.335036:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[7863:7863:0504/183119.409218:ERROR:gpu_init.cc(426)] Passthrough is not supported, GL is egl
[7863:7863:0504/183119.413472:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
[7834:7949:0504/183119.465997:ERROR:object_proxy.cc(621)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[7834:7949:0504/183119.466148:ERROR:object_proxy.cc(621)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[7834:7949:0504/183119.466286:ERROR:object_proxy.cc(621)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[7834:7834:0504/183144.160593:ERROR:dice_turn_sync_on_helper.cc(228)] Cannot turn Sync On for invalid account.
[7834:7834:0504/183339.611607:ERROR:dice_turn_sync_on_helper.cc(228)] Cannot turn Sync On for invalid account.

EIX:
[I] www-client/chromium
     Available versions:  90.0.4430.93 ~91.0.4472.27 [M]~92.0.4491.6 {component-build cups custom-cflags +hangouts headless +js-type-check kerberos official pic +proprietary-codecs pulseaudio screencast selinux +suid +system-ffmpeg +system-icu +tcmalloc vaapi wayland widevine CPU_FLAGS_ARM="neon" KERNEL="linux" L10N="+am +ar +bg +bn +ca +cs +da +de +el +en-GB +es +es-419 +et +fa +fi +fil +fr +gu +he +hi +hr +hu +id +it +ja +kn +ko +lt +lv +ml +mr +ms +nb +nl +pl +pt-BR +pt-PT +ro +ru +sk +sl +sr +sv +sw +ta +te +th +tr +uk +vi +zh-CN +zh-TW"}
     Installed versions:  90.0.4430.93(03:32:58 AM 05/04/2021)(hangouts js-type-check pic proprietary-codecs pulseaudio suid system-ffmpeg system-icu tcmalloc wayland -component-build -cups -custom-cflags -headless -kerberos -official -screencast -selinux -vaapi -widevine CPU_FLAGS_ARM="-neon" KERNEL="linux" L10N="pl -am -ar -bg -bn -ca -cs -da -de -el -en-GB -es -es-419 -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pt-BR -pt-PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh-CN -zh-TW")
     Homepage:            https://chromium.org/
     Description:         Open-source version of Google Chrome web browser


Entered right credentials.
Comment 2 Szymon Scholz 2021-05-04 17:56:21 UTC
I'll try with the "official" use flag
Comment 3 Ben Kohler gentoo-dev 2021-05-04 18:14:33 UTC
I'm led to believe that you will only be able to use google sync via www-client/google-chrome*, it will not be possible with chromium at all.  I cannot find any gentoo announcement for that, though.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-04 21:59:33 UTC
(In reply to Ben Kohler from comment #3)
> I'm led to believe that you will only be able to use google sync via
> www-client/google-chrome*, it will not be possible with chromium at all.  I
> cannot find any gentoo announcement for that, though.

We were going to do a news item, not sure why we didn't in the end
Comment 5 Ionen Wolkens gentoo-dev 2021-05-04 22:04:08 UTC
This just had me wondering as well.

Linking the draft here for reference:
https://archives.gentoo.org/gentoo-dev/message/dc2cd04d6a7ea41457237bfce5bd5128
Comment 6 Szymon Scholz 2021-05-05 04:52:14 UTC
Thanks for fast feedback. There was no public information about this issue (on Gentoo websites).

Hope an news will appear asap.
Comment 7 Stephan Hartmann (RETIRED) gentoo-dev 2021-05-05 06:08:16 UTC
We never published the news item, because until now signing in into Chromium still works. From your log I see:

[7834:7834:0504/183144.160593:ERROR:dice_turn_sync_on_helper.cc(228)] Cannot turn Sync On for invalid account.

Either you have given wrong credentials or you have not allowed third-party apps access to your account (Chromium is a third-party app).
Comment 8 Andrew Udvare 2021-05-06 18:10:31 UTC
Unfortunately my work changed policies very recently so it's no longer possible to sign in with Chromium. I have to switch to official Chrome to get sync.
Comment 9 Frank Sager 2021-05-09 12:13:54 UTC
To the best of my knowledge, google revoked the Google API keys in chromium to prevent developers making a chromium based browser that could readily compete with Chrome out of the box (as discussed in the blog post above).

As long as you are not packaging and distributing your build of chromium outside of your organization (read any license agreement carefully), you can obtain your own Google API keys. With your own API keys, you will be able to have chromium utilize google services just as before, including sync.

I've done just that, and I've outlined how I did it in this forum post: https://forums.gentoo.org/viewtopic-t-1132125-highlight-.html

Feel free to give it a try. I don't know if I'll be able to answer any questions any of you may have, I'm no expert, but I'll try to do so.
Comment 10 Vitaly Zdanevich 2022-08-31 17:23:59 UTC
Maybe USE flag can be added, in order to simplify enabling of sync?