diff --git a/sources/syncserver/__init__.py b/sources/syncserver/__init__.py index 7cf5772..de45409 100644 --- a/sources/syncserver/__init__.py +++ b/sources/syncserver/__init__.py @@ -6,7 +6,6 @@ import os import logging from urlparse import urlparse, urlunparse -from pyramid.response import Response from pyramid.events import NewRequest, subscriber from pyramid.static import static_view @@ -96,7 +95,7 @@ def includeme(config): ) # Documentation for Hybrid routing can be found here # http://docs.pylonsproject.org/projects/pyramid/en/1.0-branch/narr/hybrid.html#using-subpath-in-a-route-pattern - config.add_route('index', '/*subpath', 'www') # subpath is a reserved word + config.add_route('index', '/*subpath', 'www') # subpath is a reserved word config.add_view(www, route_name='index') diff --git a/sources/syncserver/page/index.html b/sources/syncserver/page/index.html index 86a02c8..ad14833 100644 --- a/sources/syncserver/page/index.html +++ b/sources/syncserver/page/index.html @@ -35,14 +35,14 @@ help support Mozilla. -
- Since Firefox 33, Firefox for Android has supported custom sync servers. To configure - Firefox for Android, see the blog post How to connect Firefox for Android to self-hosted - Firefox Account and Firefox Sync servers. + Since Firefox 33, Firefox for Android has supported custom sync servers, + should be a breeze. +
+The sure-fire way to know what Sync on Android is really doing is to + observe the Android device log using adb logcat. You’ll want to bump + your log-level: +
+ adb shell setprop log.tag.FxAccounts VERBOSE
+
+ Then, you can observe the log using: +
+
+ adb logcat | grep FxAccounts
+
+ It’s best to observe the log while you force a sync from the Android Settings App. You should see output like: +
++D FxAccounts(...) fennec :: BaseResource :: HTTP GET https://token.stage.mozaws.net/1.0/sync/1.5 +... +D FxAccounts(...) fennec :: BaseResource :: HTTP GET https://sync-4-us-east-1.stage.mozaws.net/