Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 430192 - www-client/chromium-21.0.1180.57 google sync doesn't work
Summary: www-client/chromium-21.0.1180.57 google sync doesn't work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-06 15:34 UTC by Gao Xiang
Modified: 2012-09-04 08:38 UTC (History)
0 users

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


Attachments
chromium-21.0.1180.57.ebuild (chromium-21.0.1180.57.ebuild,14.01 KB, text/plain)
2012-08-06 15:35 UTC, Gao Xiang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gao Xiang 2012-08-06 15:34:39 UTC
When I tried to sign in to sync, I always get a "Could't connect to server" or "Syn has stopped working".  It seems that google has shutdown it's sync for chromium, whose sync server url is "https://clients4.google.com/chrome-sync/dev".
The google-chrome's sync server url is "https://clients4.google.com/chrome-sync" works fine.  This new ebuild change chromium's sync server url to google-chrome's during src_prepare().

Reproducible: Always
Comment 1 Gao Xiang 2012-08-06 15:35:18 UTC
Created attachment 320568 [details]
chromium-21.0.1180.57.ebuild
Comment 2 Gao Xiang 2012-08-06 15:39:02 UTC
Comment on attachment 320568 [details]
chromium-21.0.1180.57.ebuild

--- usr/portage/www-client/chromium/chromium-21.0.1180.57.ebuild	2012-08-03 20:01:31.000000000 +0800
+++ root/overlay/www-client/chromium/chromium-21.0.1180.57.ebuild	2012-08-06 23:27:42.138827371 +0800
@@ -165,6 +165,13 @@
 		\! -path 'third_party/zlib/contrib/minizip/*' \
 		-delete || die
 
+	# Change the sync server url to the one chrome use
+	# Google chrome's sync server url is https://clients4.google.com/chrome-sync
+	# Chromium's sync server url is https://clients4.google.com/chrome-sync/dev
+	# But it's unknown why the chromium's server doesn't work
+	sed -i 's/chrome-sync\/dev/chrome-sync/g' \
+	${WORKDIR}/${P}/chrome/browser/sync/profile_sync_service.cc || die
+
 	local v8_bundled="$(chromium_bundled_v8_version)"
 	local v8_installed="$(chromium_installed_v8_version)"
 	einfo "V8 version: bundled - ${v8_bundled}; installed - ${v8_installed}"
Comment 3 Mike Gilbert gentoo-dev 2012-08-06 16:00:15 UTC
Was this change announced somewhere?
Comment 4 Gao Xiang 2012-08-06 16:12:16 UTC
I don't see any announcement from google saying that the sync for chromium has stop.  But I'm having trouble using sync for chromium for several days.  If it is a server corruption, it might not take several days to restore.
Comment 5 Mike Gilbert gentoo-dev 2012-08-06 17:10:43 UTC
It seems to be working fine for me as-is. Have you tried using a fresh profile?
Comment 6 Gao Xiang 2012-08-07 00:46:58 UTC
Yes, I deleted everything beginning with "." in my home directory, but It doesn't work.
Comment 7 Gao Xiang 2012-08-11 11:23:54 UTC
Sync works well on the new version of chromium.
Comment 8 Mike Gilbert gentoo-dev 2012-08-11 15:27:32 UTC
So just 21.0.1180.57 is affected? If so, I can request stabilization of the next version.
Comment 9 Gao Xiang 2012-08-11 15:41:15 UTC
21.0.1180.77 works well,  21.0.1180.75 not tested
Comment 10 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-09-04 08:38:55 UTC
(In reply to comment #9)
> 21.0.1180.77 works well,  21.0.1180.75 not tested

Closing then.