QNAP [ FireFox Sync Server ] [ 1.5 ] Browser synchronization

QoolBox

Représentant QNAP
2 Janvier 2014
10 599
169
158
50
France
www.qnap.com
sync-logo.png


https://www.mozilla.org/fr/firefox/sync/

Download :

X86 Version http://www.positiv-it.fr/QNAP/APP/FireFoxSync_1.5_x86.qpkg.zip

Note :

listen by default on port 5000
modify config file : /opt/FireFoxSync/syncserver/syncserver.ini

About :

Firefox Sync, originally branded Mozilla Weave,] is a browser synchronization feature that allows users to partially synchronize bookmarks, browsing history, preferences, passwords, filled forms, add-ons, and the last 25 opened tabs across multiple computers.

It keeps user data on Mozilla servers, but according to Mozilla the data is encrypted in such a way that no third party, not even Mozilla, can access user information. It is also possible for the user to host their own Firefox Sync servers, or indeed, for any entity to do so.
Firefox Sync was originally an add-on for Mozilla Firefox 3.x and SeaMonkey 2.0, but it has been a built-in feature since Firefox 4.0 and SeaMonkey 2.1

Firefox Sync is built on top of Firefox Accounts as of Firefox 29, and therefore Firefox 29 and later cannot sync with Firefox 28
 
ho purée, j'ai bien compris, ou ça permet d'avoir la synchro des ses firefox chez soi sur son nas et non chez mozilla?
si oui, Qoolbox tu es mon DIEU !!! je t'aiiiiiiiiiiiiiiiime !!! :oops:

et niveau config ça donne quoi?
 
c'est exactement cela

tu trouveras des tuto sur le Net
y a peut être des modifs à faire dans le fichier de config, je l'ai laissé tel que

perso j'ai pas testé mais tous les services se lancent correctement
 
Bonjour,

Ceci m'intéresse mais je vous avoue ne pas comprendre son fonctionnement...
J'ai installé l'application sur mon nas et à partir de la je suis perdu...

Quelqu'un pourrait il m'expliquer comment l'utiliser ?

Merci par avance.
 
Hi QoolBox,

I've changed "identity.sync.tokenserver.uri" to "http://192.168.1.87:5000/token/1.0/sync/1.5" in about:config but i'm getting this when I try to navigate to that url...

Code:
{"status": "error", "errors": ["The public_url setting doesn't match the application url.\nThis will almost certainly cause authentication failures!\n    public_url setting is: http://localhost:5000\n    application url is:    http://192.168.1.87:5000\nYou can disable this check by setting the force_wsgi_environ\noption in your config file, but do so at your own risk."]}

I've setted up two machines with firefox 42 and both doesn't sync with server...

Do you have any clue?

Thanks!
pjgm
 
Si une personne l'utilise ça serait sympa de nous faire un petit tuto car moi je n'y arrive pas...
J'ai suivi les instructions du lien cité par Qoolbox, j'ai tenté également de faire ce que PJGM a fait sur ce post : http://forum.qnap.com/viewtopic.php?t=116178 mais en vain...

Lorsque je fais about:config j'ai bien une ligne identity.sync.tokenserver.uri que j'ai modifié comme précisé dans les tutos par contre je n'ai aucune ligne contenant : services.sync.tokenServerURI j'ai par contre une ligne services.sync.ServerURL que j'ai modifié aussi mais sans résultat.

Merci.
 
Tosh a dit:
Si une personne l'utilise ça serait sympa de nous faire un petit tuto car moi je n'y arrive pas...
J'ai suivi les instructions du lien cité par Qoolbox, j'ai tenté également de faire ce que PJGM a fait sur ce post : http://forum.qnap.com/viewtopic.php?t=116178 mais en vain...

Lorsque je fais about:config j'ai bien une ligne identity.sync.tokenserver.uri que j'ai modifié comme précisé dans les tutos par contre je n'ai aucune ligne contenant : services.sync.tokenServerURI j'ai par contre une ligne services.sync.ServerURL que j'ai modifié aussi mais sans résultat.

Merci.

Hi tosh,

If you already have firefox 42 you just need to change identity.sync.tokenserver.uri forget services.sync.tokenServerURI

please go to your firefox about:sync log page and show us your log

cheers
pjgm
 
Salut pjgm,

Désolé si je m'exprime en français mais tu comprendras certainement mieux que si je m'explique en anglais :)
Pourrais tu me montrer à quoi ressemble ton fichier syncserver.ini en cachant les informations confidentielles évidemment...

Voici à quoi ressemble mon fichier log :

Code:
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /1.0/sync/1.5 was not found on this server.</p>
<hr>
<address>Apache Server at 192.168.0.10 Port 5000</address>
</body></html>

1446754445851	Sync.BrowserIDManager	ERROR	Non-authentication error in _fetchTokenForUser: TokenServerClientServerError({"now":"2015-11-05T20:14:05.851Z","message":"Non-JSON response.","cause":"malformed-response","response_body":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p>The requested URL /1.0/sync/1.5 was not found on this server.</p>\n<hr>\n<address>Apache Server at 192.168.0.10 Port 5000</address>\n</body></html>\n","response_headers":{"date":"Thu, 05 Nov 2015 20:14:37 GMT","server":"Apache","vary":"Accept-Encoding","content-encoding":"gzip","content-length":"228","keep-alive":"timeout=15, max=800","connection":"Keep-Alive","content-type":"text/html; charset=iso-8859-1"},"response_status":404}) (resource://gre/modules/services-common/tokenserverclient.js:36:36) JS Stack trace: @tokenserverclient.js:36:36 < @browserid_identity.js:14:1 < @status.js:15:1 < SyncServiceObserver.init@sync.js:76:62 < @sync.js:459:1 < require@bootstrap.js:137:7 < @main.js:30:1 < require@bootstrap.js:137:7 < startup@bootstrap.js:21:3 < XPI_callBootstrapMethod@XPIProvider.jsm:4774:9 < XPI_startup@XPIProvider.jsm:2484:13 < callProvider@AddonManager.jsm:221:12 < _startProvider@AddonManager.jsm:828:5 < AMI_startup@AddonManager.jsm:999:9 < AMP_startup@AddonManager.jsm:2672:5 < AMC_observe@addonManager.js:58:7
1446754445851	Sync.Status	DEBUG	Status.login: error.login.reason.network => error.login.reason.network
1446754445851	Sync.Status	DEBUG	Status.service: error.login.failed => error.login.failed
1446754445851	browserwindow.syncui	DEBUG	observed: weave:ui:login:error
1446754445851	browserwindow.syncui	DEBUG	onLoginError: login=error.login.reason.network, sync=success.sync
1446754445852	browserwindow.syncui	DEBUG	_loginFailed has sync state=error.login.reason.network
1446754445853	Sync.BrowserIDManager	ERROR	Background fetch for key bundle failed: TokenServerClientServerError({"now":"2015-11-05T20:14:05.851Z","message":"Non-JSON response.","cause":"malformed-response","response_body":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p>The requested URL /1.0/sync/1.5 was not found on this server.</p>\n<hr>\n<address>Apache Server at 192.168.0.10 Port 5000</address>\n</body></html>\n","response_headers":{"date":"Thu, 05 Nov 2015 20:14:37 GMT","server":"Apache","vary":"Accept-Encoding","content-encoding":"gzip","content-length":"228","keep-alive":"timeout=15, max=800","connection":"Keep-Alive","content-type":"text/html; charset=iso-8859-1"},"response_status":404}) (resource://gre/modules/services-common/tokenserverclient.js:36:36) JS Stack trace: @tokenserverclient.js:36:36 < @browserid_identity.js:14:1 < @status.js:15:1 < SyncServiceObserver.init@sync.js:76:62 < @sync.js:459:1 < require@bootstrap.js:137:7 < @main.js:30:1 < require@bootstrap.js:137:7 < startup@bootstrap.js:21:3 < XPI_callBootstrapMethod@XPIProvider.jsm:4774:9 < XPI_startup@XPIProvider.jsm:2484:13 < callProvider@AddonManager.jsm:221:12 < _startProvider@AddonManager.jsm:828:5 < AMI_startup@AddonManager.jsm:999:9 < AMP_startup@AddonManager.jsm:2672:5 < AMC_observe@addonManager.js:58:7
1446754445853	Sync.BrowserIDManager	ERROR	Could not authenticate: TokenServerClientServerError({"now":"2015-11-05T20:14:05.851Z","message":"Non-JSON response.","cause":"malformed-response","response_body":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p>The requested URL /1.0/sync/1.5 was not found on this server.</p>\n<hr>\n<address>Apache Server at 192.168.0.10 Port 5000</address>\n</body></html>\n","response_headers":{"date":"Thu, 05 Nov 2015 20:14:37 GMT","server":"Apache","vary":"Accept-Encoding","content-encoding":"gzip","content-length":"228","keep-alive":"timeout=15, max=800","connection":"Keep-Alive","content-type":"text/html; charset=iso-8859-1"},"response_status":404}) (resource://gre/modules/services-common/tokenserverclient.js:36:36) JS Stack trace: @tokenserverclient.js:36:36 < @browserid_identity.js:14:1 < @status.js:15:1 < SyncServiceObserver.init@sync.js:76:62 < @sync.js:459:1 < require@bootstrap.js:137:7 < @main.js:30:1 < require@bootstrap.js:137:7 < startup@bootstrap.js:21:3 < XPI_callBootstrapMethod@XPIProvider.jsm:4774:9 < XPI_startup@XPIProvider.jsm:2484:13 < callProvider@AddonManager.jsm:221:12 < _startProvider@AddonManager.jsm:828:5 < AMI_startup@AddonManager.jsm:999:9 < AMP_startup@AddonManager.jsm:2672:5 < AMC_observe@addonManager.js:58:7
1446754445855	FirefoxAccounts	DEBUG	FxAccountsProfileClient: Requested profile
1446754445856	FirefoxAccounts	DEBUG	getOAuthToken enter
1446754445857	FirefoxAccounts	TRACE	getCachedToken returning cached token
1446754445857	FirefoxAccounts	DEBUG	getOAuthToken returning a cached token
1446754445858	browserwindow.syncui	DEBUG	observed: weave:service:login:error
1446754445858	browserwindow.syncui	DEBUG	onActivityStop with numActive: 1
1446754445858	browserwindow.syncui	DEBUG	_loginFailed has sync state=error.login.reason.network
1446754445858	Sync.SyncScheduler	DEBUG	Clearing sync triggers and the global score.
1446754445859	Sync.SyncScheduler	DEBUG	Next sync in 3600000 ms.
1446754445859	Sync.ErrorHandler	ERROR	Sync encountered a login error

Pour l'erreur suivante :

Code:
</head><body>
<h1>Not Found</h1>
<p>The requested URL /1.0/sync/1.5 was not found on this server.</p>
<hr>
<address>Apache Server at 192.168.0.10 Port 5000</address>
</body></html>

J'ai tenté plusieurs trucs du genre /1.0 ou 1.0/sync ou /sync/1.5 et même /sync mais sans succes...

De plus, j'aimerai que le tout soit stocké dans une base de données mysql mais sous phpmyadmin, la base de donnée reste vierge. J'ai donc probablement une erreur dans mon fichier de config. Voici comment je tente de me connecter à ma base de donnée :

Code:
sqluri = pymysql://utilisateurbdd:passwordbdd@192.168.0.10:3306/sync

"sync" étant le nom de ma base de donnée.

Merci.
 
Hi Tosh,

No problem ;)

Here you have my firefox log

Code:
1446756601208	Sync.LogManager	DEBUG	Flushing file log
1446756601208	Sync.LogManager	TRACE	Beginning stream copy to error-sync-1446756601208.txt: 1446756601208
1446756601209	Sync.Service	DEBUG	Exception: TokenServerClientServerError({"now":"2015-11-05T20:50:01.199Z","message":"Server error.","cause":"general","response_body":"{\"status\": \"error\", \"errors\": [\"The public_url setting doesn't match the application url.\\nThis will almost certainly cause authentication failures!\\n    public_url setting is: http://localhost:5000\\n    application url is:    http://xxxxxxxxxxxxxxx:5000\\nYou can disable this check by setting the force_wsgi_environ\\noption in your config file, but do so at your own risk.\"]}","response_headers":{"server":"gunicorn/19.1.1","date":"Thu, 05 Nov 2015 20:49:49 GMT","connection":"keep-alive","content-length":"383","content-type":"application/json; charset=UTF-8","x-weave-timestamp":"1446756589.73","x-timestamp":"1446756589"},"response_status":500}) (resource://gre/modules/services-common/tokenserverclient.js:36:36) JS Stack trace: @tokenserverclient.js:36:36 < @browserid_identity.js:14:1 < @status.js:15:1 < SyncServiceObserver.init@sync.js:76:62 < @sync.js:459:1 < require@bootstrap.js:137:7 < @main.js:30:1 < require@bootstrap.js:137:7 < startup@bootstrap.js:21:3 < XPI_callBootstrapMethod@XPIProvider.jsm:4774:9 < XPI_startup@XPIProvider.jsm:2484:13 < callProvider@AddonManager.jsm:221:12 < _startProvider@AddonManager.jsm:828:5 < AMI_startup@AddonManager.jsm:999:9 < AMP_startup@AddonManager.jsm:2672:5 < AMC_observe@addonManager.js:58:7
1446756601209	Sync.Service	DEBUG	Not syncing: login returned false.
1446756601218	browserwindow.syncui	DEBUG	observed: weave:ui:login:error
1446756601218	browserwindow.syncui	DEBUG	onLoginError: login=error.login.reason.network, sync=success.sync
1446756601218	browserwindow.syncui	DEBUG	_loginFailed has sync state=error.login.reason.network
1446756601253	Sync.LogManager	TRACE	finished copy to: C:\Users\Paulo\AppData\Roaming\Mozilla\Firefox\Profiles\ykjtb10q.default-1437419271764\weave\logs\error-sync-1446756601208.txt
1446756601253	Sync.LogManager	TRACE	onCopyComplete: 1446756601253
1446756601254	Sync.LogManager	TRACE	Scheduling cleanup.
1446756601254	Sync.LogManager	DEBUG	Log cleanup threshold time: 1445892601254
1446756601349	Sync.LogManager	DEBUG	Done deleting files.
1446756602054	FirefoxAccounts	DEBUG	fetched profile matches cached copy
1446756704984	FirefoxAccounts	DEBUG	removing account data
1446756704984	FirefoxAccounts	TRACE	starting write of json user data: null
1446756704992	FirefoxAccounts	TRACE	finished write of json user data - took: 7
1446756704999	FirefoxAccounts	TRACE	storage set finished clearing account data
1446756704999	FirefoxAccounts	DEBUG	account data reset
1446756704999	FirefoxAccounts	TRACE	StorageManager finalizing
1446756704999	FirefoxAccounts	TRACE	StorageManager finalized
1446756705000	FirefoxAccounts	TRACE	initializing new storage manager
1446756705000	FirefoxAccounts	TRACE	starting fetch of json user data
1446756705002	FirefoxAccounts	TRACE	finished fetch of json user data - took: 2
1446756705002	FirefoxAccounts	TRACE	initializing of new storage manager done
1446756705006	FirefoxAccounts	DEBUG	Notifying observers of fxaccounts:onlogout
1446756705006	Sync.BrowserIDManager	DEBUG	observed fxaccounts:onlogout
1446756705007	Sync.Status	INFO	Resetting Status.
1446756705007	Sync.Status	DEBUG	Status.service: error.login.failed => success.status_ok
1446756705007	Sync.Service	DEBUG	Skipping client data removal: no cluster URL.
1446756705007	Sync.Service	INFO	Service.startOver dropping sync key and logging out.
1446756705007	Sync.Status	DEBUG	Status.login: success.login => error.login.reason.no_recoverykey
1446756705007	Sync.Status	DEBUG	Status.service: success.status_ok => service.client_not_configured
1446756705007	Sync.Service	INFO	Logging out
1446756705008	browserwindow.syncui	DEBUG	observed: weave:service:logout:finish
1446756705008	browserwindow.syncui	DEBUG	_loginFailed has sync state=error.login.reason.no_recoverykey
1446756705008	browserwindow.syncui	DEBUG	observed: weave:service:start-over
1446756705008	browserwindow.syncui	DEBUG	_loginFailed has sync state=error.login.reason.no_recoverykey
1446756705009	Sync.SyncScheduler	DEBUG	Clearing sync triggers and the global score.
1446756705009	Sync.Service	INFO	Service reset.
1446756705010	Sync.Engine.Clients	DEBUG	Resetting clients last sync time
1446756705010	Sync.Engine.Bookmarks	DEBUG	Resetting bookmarks last sync time
1446756705010	Sync.Engine.Forms	DEBUG	Resetting forms last sync time
1446756705011	Sync.Engine.History	DEBUG	Resetting history last sync time
1446756705011	Sync.Engine.Passwords	DEBUG	Resetting passwords last sync time
1446756705011	Sync.Engine.Prefs	DEBUG	Resetting prefs last sync time
1446756705012	Sync.Engine.Tabs	DEBUG	Resetting tabs last sync time
1446756705012	Sync.Engine.Addons	DEBUG	Resetting addons last sync time
1446756705012	Sync.Engine.AdblockPlus	DEBUG	Resetting adblockplus last sync time
1446756705012	Sync.CollectionKeyManager	INFO	Clearing collection keys...
1446756705013	Sync.Tracker.Clients	DEBUG	client.name preference changed
1446756705013	Sync.Tracker.Clients	WARN	Attempted to add undefined ID to tracker
1446756705020	Sync.BrowserIDManager	INFO	Username changed. Removing stored credentials.
1446756705022	Sync.BrowserIDManager	INFO	initializeWithCurrentIdentity has no user logged in
1446756705022	Sync.BrowserIDManager	INFO	Username changed. Removing stored credentials.
1446756705022	Sync.BrowserIDManager	ERROR	Could not authenticate: no user is logged in
1446756705031	browserwindow.syncui	DEBUG	observed: weave:service:start-over:finish
1446756705032	browserwindow.syncui	DEBUG	_loginFailed has sync state=error.login.reason.no_recoverykey
1446756705834	Hawk	DEBUG	(Response) /session/destroy: code: 200 - Status text: OK
1446756705834	Sync.RESTResponse	TRACE	Processing response headers.
1446756705835	Hawk	DEBUG	Clock offset vs https://api.accounts.firefox.com/v1: -11835
1446756705835	FirefoxAccounts	DEBUG	FxAccountsOAuthGrantClient Initialized
1446756706643	FirefoxAccounts	DEBUG	Notifying observers of testhelper-fxa-signout-complete
1446757253641	FirefoxAccounts	DEBUG	setSignedInUser - aborting any existing flows
1446757253642	FirefoxAccounts	TRACE	StorageManager finalizing
1446757253642	FirefoxAccounts	TRACE	StorageManager finalized
1446757253643	FirefoxAccounts	TRACE	initializing new storage manager
1446757253643	FirefoxAccounts	WARN	Unknown FxA field name in user data, treating as in-memory: declinedSyncEngines
1446757253644	FirefoxAccounts	DEBUG	writing plain storage: ["email","sessionToken","uid","verified"]
1446757253644	FirefoxAccounts	TRACE	starting write of json user data: ["email","sessionToken","uid","verified"]
1446757253652	FirefoxAccounts	TRACE	finished write of json user data - took: 8
1446757253652	FirefoxAccounts	DEBUG	writing secure storage: ["keyFetchToken","unwrapBKey"]
1446757253653	FirefoxAccounts	TRACE	starting write of user data to the login manager
1446757253659	FirefoxAccounts	TRACE	finished write of user data to the login manager
1446757253659	FirefoxAccounts	TRACE	initializing of new storage manager done
1446757253660	FirefoxAccounts	DEBUG	Notifying observers of fxaccounts:onlogin
1446757253660	Sync.BrowserIDManager	DEBUG	observed fxaccounts:onlogin
1446757253664	Sync.BrowserIDManager	INFO	Username changed. Removing stored credentials.
1446757253664	Sync.BrowserIDManager	INFO	Waiting for user to be verified.
1446757253664	FirefoxAccounts	DEBUG	already verified
1446757253665	Sync.Tracker.Clients	DEBUG	client.name preference changed
1446757253666	Sync.Tracker.Clients	WARN	Attempted to add undefined ID to tracker
1446757253666	FirefoxAccounts	DEBUG	FxAccountsProfileClient: Initialized
1446757253667	Sync.BrowserIDManager	INFO	Starting fetch for key bundle.
1446757253667	FirefoxAccounts	DEBUG	already verified
1446757253667	Sync.BrowserIDManager	INFO	Fetching new keys
1446757253668	FirefoxAccounts	DEBUG	fetchKeys: true
1446757253671	FirefoxAccounts	DEBUG	FxAccountsProfileClient: Requested profile
1446757253671	FirefoxAccounts	DEBUG	getOAuthToken enter
1446757253672	FirefoxAccounts	DEBUG	FxAccountsOAuthGrantClient Initialized
1446757253672	FirefoxAccounts	DEBUG	getOAuthToken fetching new token from: https://oauth.accounts.firefox.com/v1
1446757253672	FirefoxAccounts	DEBUG	enter getAssertion()
1446757253695	FirefoxAccounts	DEBUG	got keyPair
1446757253695	FirefoxAccounts	DEBUG	getCertificateSigned: true true
1446757253898	Hawk	DEBUG	(Response) /account/keys: code: 200 - Status text: OK
1446757253898	Sync.RESTResponse	TRACE	Processing response headers.
1446757253898	Hawk	DEBUG	Clock offset vs https://api.accounts.firefox.com/v1: -11898
1446757253900	FirefoxAccounts	DEBUG	Keys Obtained: kA=true, kB=true
1446757253900	FirefoxAccounts	DEBUG	_updateAccountData with items: ["kA","kB","keyFetchToken","unwrapBKey"]
1446757253900	FirefoxAccounts	DEBUG	Notifying observers of fxaccounts:onverified
1446757253904	Sync.BrowserIDManager	INFO	Getting an assertion from: http://xxxxxxxxxxxxxxxxx:5000/token/1.0/sync/1.5
1446757253904	FirefoxAccounts	DEBUG	enter getAssertion()
1446757253906	FirefoxAccounts	DEBUG	writing plain storage: ["email","sessionToken","uid","verified"]
1446757253906	FirefoxAccounts	TRACE	starting write of json user data: ["email","sessionToken","uid","verified"]
1446757253928	FirefoxAccounts	DEBUG	got keyPair
1446757253928	FirefoxAccounts	DEBUG	getCertificateSigned: true true
1446757253951	FirefoxAccounts	TRACE	finished write of json user data - took: 45
1446757253951	FirefoxAccounts	DEBUG	writing secure storage: ["kA","kB"]
1446757253952	FirefoxAccounts	TRACE	starting write of user data to the login manager
1446757253960	FirefoxAccounts	TRACE	finished write of user data to the login manager
1446757254146	Hawk	DEBUG	(Response) /certificate/sign: code: 200 - Status text: OK
1446757254146	Sync.RESTResponse	TRACE	Processing response headers.
1446757254146	Hawk	DEBUG	Clock offset vs https://api.accounts.firefox.com/v1: -12146
1446757254147	FirefoxAccounts	DEBUG	getCertificate got a new one: true
1446757254147	FirefoxAccounts	DEBUG	_updateAccountData with items: ["keyPair","cert"]
1446757254147	FirefoxAccounts	DEBUG	getAssertionFromCert
1446757254148	FirefoxAccounts	DEBUG	writing plain storage: ["email","sessionToken","uid","verified"]
1446757254148	FirefoxAccounts	TRACE	starting write of json user data: ["email","sessionToken","uid","verified"]
1446757254149	FirefoxAccounts	DEBUG	getAssertionFromCert returning signed: true
1446757254149	Sync.BrowserIDManager	DEBUG	Getting a token
1446757254150	Common.TokenServerClient	DEBUG	Beginning BID assertion exchange: http://xxxxxxxxxxxxxx.pt:5000/token/1.0/sync/1.5
1446757254155	FirefoxAccounts	TRACE	finished write of json user data - took: 7
1446757254155	FirefoxAccounts	DEBUG	writing secure storage: ["kA","kB"]
1446757254156	FirefoxAccounts	TRACE	starting write of user data to the login manager
1446757254164	FirefoxAccounts	TRACE	finished write of user data to the login manager
1446757254236	Hawk	DEBUG	(Response) /certificate/sign: code: 200 - Status text: OK
1446757254237	Sync.RESTResponse	TRACE	Processing response headers.
1446757254237	Hawk	DEBUG	Clock offset vs https://api.accounts.firefox.com/v1: -12237
1446757254237	FirefoxAccounts	DEBUG	getCertificate got a new one: true
1446757254237	FirefoxAccounts	DEBUG	_updateAccountData with items: ["keyPair","cert"]
1446757254238	FirefoxAccounts	DEBUG	getAssertionFromCert
1446757254238	FirefoxAccounts	DEBUG	writing plain storage: ["email","sessionToken","uid","verified"]
1446757254238	FirefoxAccounts	TRACE	starting write of json user data: ["email","sessionToken","uid","verified"]
1446757254240	FirefoxAccounts	DEBUG	getAssertionFromCert returning signed: true
1446757254244	FirefoxAccounts	TRACE	finished write of json user data - took: 5
1446757254245	FirefoxAccounts	DEBUG	writing secure storage: ["kA","kB"]
1446757254245	FirefoxAccounts	TRACE	starting write of user data to the login manager
1446757254253	FirefoxAccounts	TRACE	finished write of user data to the login manager
1446757254980	FirefoxAccounts	DEBUG	_updateAccountData with items: ["oauthTokens"]
1446757254981	FirefoxAccounts	DEBUG	writing plain storage: ["email","sessionToken","uid","verified","oauthTokens"]
1446757254981	FirefoxAccounts	TRACE	starting write of json user data: ["email","sessionToken","uid","verified","oauthTokens"]
1446757254994	FirefoxAccounts	TRACE	finished write of json user data - took: 13
1446757254994	FirefoxAccounts	DEBUG	writing secure storage: ["kA","kB"]
1446757254994	FirefoxAccounts	TRACE	starting write of user data to the login manager
1446757255002	FirefoxAccounts	TRACE	finished write of user data to the login manager
1446757255841	FirefoxAccounts	DEBUG	notifying profile changed for user 9184df6285aa48269d430d5e8d15581d
1446757255843	FirefoxAccounts	TRACE	not checking freshness of profile as it remains recent
1446757255843	FirefoxAccounts	TRACE	not checking freshness of profile as it remains recent
1446757256246	Sync.BrowserIDManager	ERROR	Non-authentication error in _fetchTokenForUser: TokenServerClientNetworkError({"error":{}}) (resource://gre/modules/services-common/tokenserverclient.js:36:36) JS Stack trace: @tokenserverclient.js:36:36 < @browserid_identity.js:14:1 < @status.js:15:1 < SyncServiceObserver.init@sync.js:76:62 < @sync.js:459:1 < require@bootstrap.js:137:7 < @main.js:30:1 < require@bootstrap.js:137:7 < startup@bootstrap.js:21:3 < XPI_callBootstrapMethod@XPIProvider.jsm:4774:9 < XPI_startup@XPIProvider.jsm:2484:13 < callProvider@AddonManager.jsm:221:12 < _startProvider@AddonManager.jsm:828:5 < AMI_startup@AddonManager.jsm:999:9 < AMP_startup@AddonManager.jsm:2672:5 < AMC_observe@addonManager.js:58:7
1446757256247	Sync.Status	DEBUG	Status.login: error.login.reason.no_recoverykey => error.login.reason.network
1446757256247	Sync.Status	DEBUG	Status.service: service.client_not_configured => error.login.failed
1446757256247	browserwindow.syncui	DEBUG	observed: weave:ui:login:error
1446757256247	browserwindow.syncui	DEBUG	onLoginError: login=error.login.reason.network, sync=success.sync
1446757256247	browserwindow.syncui	DEBUG	_loginFailed has sync state=error.login.reason.network
1446757256249	Sync.BrowserIDManager	ERROR	Background fetch for key bundle failed: TokenServerClientNetworkError({"error":{}}) (resource://gre/modules/services-common/tokenserverclient.js:36:36) JS Stack trace: @tokenserverclient.js:36:36 < @browserid_identity.js:14:1 < @status.js:15:1 < SyncServiceObserver.init@sync.js:76:62 < @sync.js:459:1 < require@bootstrap.js:137:7 < @main.js:30:1 < require@bootstrap.js:137:7 < startup@bootstrap.js:21:3 < XPI_callBootstrapMethod@XPIProvider.jsm:4774:9 < XPI_startup@XPIProvider.jsm:2484:13 < callProvider@AddonManager.jsm:221:12 < _startProvider@AddonManager.jsm:828:5 < AMI_startup@AddonManager.jsm:999:9 < AMP_startup@AddonManager.jsm:2672:5 < AMC_observe@addonManager.js:58:7
1446757256250	Sync.BrowserIDManager	ERROR	Could not authenticate: TokenServerClientNetworkError({"error":{}}) (resource://gre/modules/services-common/tokenserverclient.js:36:36) JS Stack trace: @tokenserverclient.js:36:36 < @browserid_identity.js:14:1 < @status.js:15:1 < SyncServiceObserver.init@sync.js:76:62 < @sync.js:459:1 < require@bootstrap.js:137:7 < @main.js:30:1 < require@bootstrap.js:137:7 < startup@bootstrap.js:21:3 < XPI_callBootstrapMethod@XPIProvider.jsm:4774:9 < XPI_startup@XPIProvider.jsm:2484:13 < callProvider@AddonManager.jsm:221:12 < _startProvider@AddonManager.jsm:828:5 < AMI_startup@AddonManager.jsm:999:9 < AMP_startup@AddonManager.jsm:2672:5 < AMC_observe@addonManager.js:58:7
1446757256251	FirefoxAccounts	TRACE	not checking freshness of profile as it remains recent
1446757260943	Sync.ErrorHandler	DEBUG	Beginning user-triggered sync.
1446757260944	Sync.Service	DEBUG	User-Agent: Firefox/42.0 FxSync/1.44.0.20151029151421.
1446757260944	Sync.Service	INFO	Starting sync at 2015-11-05 21:01:00
1446757260944	Sync.Service	DEBUG	In sync: should login.
1446757260944	browserwindow.syncui	DEBUG	observed: weave:service:login:start
1446757260944	browserwindow.syncui	DEBUG	onActivityStart with numActive: 0
1446757260944	browserwindow.syncui	DEBUG	_loginFailed has sync state=error.login.reason.network
1446757260944	Sync.BrowserIDManager	INFO	currentAuthState returning error.login.reason.network due to previous failure
1446757260945	Sync.Status	DEBUG	Status.login: error.login.reason.network => error.login.reason.network
1446757260945	Sync.Status	DEBUG	Status.service: error.login.failed => error.login.failed
1446757260945	Sync.BrowserIDManager	INFO	currentAuthState returning error.login.reason.network due to previous failure
1446757260945	Sync.Status	DEBUG	Status.login: error.login.reason.network => error.login.reason.network
1446757260945	Sync.Status	DEBUG	Status.service: error.login.failed => error.login.failed
1446757260946	Sync.BrowserIDManager	INFO	Waiting for user to be verified.
1446757260946	FirefoxAccounts	DEBUG	already verified
1446757260946	Sync.BrowserIDManager	INFO	Starting fetch for key bundle.
1446757260947	FirefoxAccounts	DEBUG	already verified
1446757260947	Sync.BrowserIDManager	INFO	Getting an assertion from: http://xxxxxxxxxxxxxxxxxxxxxx.pt:5000/token/1.0/sync/1.5
1446757260947	FirefoxAccounts	DEBUG	enter getAssertion()
1446757260949	FirefoxAccounts	DEBUG	getKeypairAndCertificate: already have keyPair and certificate
1446757260949	FirefoxAccounts	DEBUG	getAssertionFromCert
1446757260967	FirefoxAccounts	DEBUG	getAssertionFromCert returning signed: true
1446757260967	Sync.BrowserIDManager	DEBUG	Getting a token
1446757260968	Common.TokenServerClient	DEBUG	Beginning BID assertion exchange: http://xxxxxxxxxxxxxxxxxx:5000/token/1.0/sync/1.5
1446757264993	Sync.BrowserIDManager	ERROR	Non-authentication error in _fetchTokenForUser: TokenServerClientNetworkError({"error":{}}) (resource://gre/modules/services-common/tokenserverclient.js:36:36) JS Stack trace: @tokenserverclient.js:36:36 < @browserid_identity.js:14:1 < @status.js:15:1 < SyncServiceObserver.init@sync.js:76:62 < @sync.js:459:1 < require@bootstrap.js:137:7 < @main.js:30:1 < require@bootstrap.js:137:7 < startup@bootstrap.js:21:3 < XPI_callBootstrapMethod@XPIProvider.jsm:4774:9 < XPI_startup@XPIProvider.jsm:2484:13 < callProvider@AddonManager.jsm:221:12 < _startProvider@AddonManager.jsm:828:5 < AMI_startup@AddonManager.jsm:999:9 < AMP_startup@AddonManager.jsm:2672:5 < AMC_observe@addonManager.js:58:7
1446757264993	Sync.Status	DEBUG	Status.login: error.login.reason.network => error.login.reason.network
1446757264993	Sync.Status	DEBUG	Status.service: error.login.failed => error.login.failed
1446757264993	browserwindow.syncui	DEBUG	observed: weave:ui:login:error
1446757264993	browserwindow.syncui	DEBUG	onLoginError: login=error.login.reason.network, sync=success.sync
1446757264994	browserwindow.syncui	DEBUG	_loginFailed has sync state=error.login.reason.network
1446757264995	Sync.BrowserIDManager	ERROR	Background fetch for key bundle failed: TokenServerClientNetworkError({"error":{}}) (resource://gre/modules/services-common/tokenserverclient.js:36:36) JS Stack trace: @tokenserverclient.js:36:36 < @browserid_identity.js:14:1 < @status.js:15:1 < SyncServiceObserver.init@sync.js:76:62 < @sync.js:459:1 < require@bootstrap.js:137:7 < @main.js:30:1 < require@bootstrap.js:137:7 < startup@bootstrap.js:21:3 < XPI_callBootstrapMethod@XPIProvider.jsm:4774:9 < XPI_startup@XPIProvider.jsm:2484:13 < callProvider@AddonManager.jsm:221:12 < _startProvider@AddonManager.jsm:828:5 < AMI_startup@AddonManager.jsm:999:9 < AMP_startup@AddonManager.jsm:2672:5 < AMC_observe@addonManager.js:58:7
1446757264995	Sync.BrowserIDManager	ERROR	Could not authenticate: TokenServerClientNetworkError({"error":{}}) (resource://gre/modules/services-common/tokenserverclient.js:36:36) JS Stack trace: @tokenserverclient.js:36:36 < @browserid_identity.js:14:1 < @status.js:15:1 < SyncServiceObserver.init@sync.js:76:62 < @sync.js:459:1 < require@bootstrap.js:137:7 < @main.js:30:1 < require@bootstrap.js:137:7 < startup@bootstrap.js:21:3 < XPI_callBootstrapMethod@XPIProvider.jsm:4774:9 < XPI_startup@XPIProvider.jsm:2484:13 < callProvider@AddonManager.jsm:221:12 < _startProvider@AddonManager.jsm:828:5 < AMI_startup@AddonManager.jsm:999:9 < AMP_startup@AddonManager.jsm:2672:5 < AMC_observe@addonManager.js:58:7
1446757264996	FirefoxAccounts	TRACE	not checking freshness of profile as it remains recent
1446757264998	browserwindow.syncui	DEBUG	observed: weave:service:login:error
1446757264998	browserwindow.syncui	DEBUG	onActivityStop with numActive: 1
1446757264998	browserwindow.syncui	DEBUG	_loginFailed has sync state=error.login.reason.network
1446757264999	Sync.SyncScheduler	DEBUG	Clearing sync triggers and the global score.
1446757264999	Sync.SyncScheduler	DEBUG	Next sync in 3600000 ms.
1446757265000	Sync.ErrorHandler	ERROR	Sync encountered a login error

And here my syncserver.ini file:

Code:
[server:main]
use = egg:gunicorn
host = 0.0.0.0
port = 5000
workers = 1
timeout = 30

[app:main]
use = egg:syncserver

[syncserver]
# This must be edited to point to the public URL of your server,
# i.e. the URL as seen by Firefox.
public_url = http://[public url]:5000/

# This defines the database in which to store all server data.
#sqluri = sqlite:////tmp/syncserver.db

# This is a secret key used for signing authentication tokens.
# It should be long and randomly-generated.
# The following command will give a suitable value on *nix systems:
#
#    head -c 20 /dev/urandom | sha1sum
#
# If not specified then the server will generate a temporary one at startup.
#secret = INSERT_SECRET_KEY_HERE

# Set this to "false" to disable new-user signups on the server.
# Only request by existing accounts will be honoured.
# allow_new_users = false

# Set this to "true" to work around a mismatch between public_url and
# the application URL as seen by python, which can happen in certain reverse-
# proxy hosting setups.  It will overwrite the WSGI environ dict with the
# details from public_url.  This could have security implications if e.g.
# you tell the app that it's on HTTPS but it's really on HTTP, so it should
# only be used as a last resort and after careful checking of server config.
force_wsgi_environ = false

# Uncomment and edit the following to use a local BrowserID verifier
# rather than posting assertions to the mozilla-hosted verifier.
# Audiences should be set to your public_url without a trailing slash.
#[browserid]
#backend = tokenserver.verifiers.LocalVerifier
#audiences = https://localhost:5000
 
Tosh,

I think I'm getting there... ;)

When I try reach http://[Public url]:5000 I'm getting now...
Code:
it works!

And when I try to reach http://[Public url]:5000/token/1.0/sync/1.5 I'm getting now...

Code:
{"status": "error", "errors": [{"location": "body", "name": "", "description": "Unauthorized"}]}

so now my guess is that syncserver.ini file it's not properly configured...

I found this article very interesting : http://sync-dev.mozilla.narkive.com/Vb5ws40D/firefox-sync-1-5-server-well-not-syncing

cheers
pjgm
 
Salut pjgm,

As tu changé quelque chose depuis hier pour arriver sur It Works lorsque tu vas sur l'adresse : http://[public url]:5000 ?
Lorsque je tente de m'y rendre, j'ai droit à un message "La connexion a échoué"aussi bien en http qu'en https

J'ai modifié le fichier syncserver.ini afin qu'il soit semblable au tien. Voici mon fichier log à ce jour :

Code:
1446824393503	Sync.LogManager	DEBUG	Flushing file log
1446824393503	Sync.LogManager	TRACE	Beginning stream copy to error-sync-1446824393502.txt: 1446824393503
1446824393505	Sync.Service	DEBUG	Exception: TokenServerClientNetworkError({"error":{}}) (resource://gre/modules/services-common/tokenserverclient.js:36:36) JS Stack trace: @tokenserverclient.js:36:36 < @browserid_identity.js:14:1 < @status.js:15:1 < SyncServiceObserver.init@sync.js:76:62 < @sync.js:459:1 < require@bootstrap.js:137:7 < @main.js:30:1 < require@bootstrap.js:137:7 < startup@bootstrap.js:21:3 < XPI_callBootstrapMethod@XPIProvider.jsm:4774:9 < XPI_startup@XPIProvider.jsm:2484:13 < callProvider@AddonManager.jsm:221:12 < _startProvider@AddonManager.jsm:828:5 < AMI_startup@AddonManager.jsm:999:9 < AMP_startup@AddonManager.jsm:2672:5 < AMC_observe@addonManager.js:58:7
1446824393505	Sync.Service	DEBUG	Not syncing: login returned false.
1446824393511	browserwindow.syncui	DEBUG	observed: weave:ui:clear-error
1446824393511	browserwindow.syncui	DEBUG	_loginFailed has sync state=error.login.reason.network
1446824393511	browserwindow.syncui	DEBUG	observed: weave:ui:clear-error
1446824393512	browserwindow.syncui	DEBUG	_loginFailed has sync state=error.login.reason.network
1446824393525	Sync.LogManager	TRACE	finished copy to: C:\Users\USER\AppData\Roaming\Mozilla\Firefox\Profiles\984azten.default\weave\logs\error-sync-1446824393502.txt
1446824393525	Sync.LogManager	TRACE	onCopyComplete: 1446824393525
1446824393525	Sync.LogManager	TRACE	Scheduling cleanup.
1446824393526	Sync.LogManager	DEBUG	Log cleanup threshold time: 1445960393526
1446824393533	Sync.LogManager	TRACE	 > Cleanup removing error-sync-1445957184603.txt (1445957184628)
1446824393533	Sync.LogManager	TRACE	Deleted error-sync-1445957184603.txt
1446824393640	Sync.LogManager	DEBUG	Done deleting files.
1446824394254	FirefoxAccounts	DEBUG	fetched profile matches cached copy
1446827928982	Sync.ErrorHandler	DEBUG	Beginning user-triggered sync.
1446827928982	Sync.Service	DEBUG	User-Agent: Firefox/42.0 FxSync/1.44.0.20151029151421.
1446827928982	Sync.Service	INFO	Starting sync at 2015-11-06 17:38:48
1446827928982	Sync.Service	DEBUG	In sync: should login.
1446827928983	browserwindow.syncui	DEBUG	observed: weave:service:login:start
1446827928983	browserwindow.syncui	DEBUG	onActivityStart with numActive: 0
1446827928983	browserwindow.syncui	DEBUG	_loginFailed has sync state=error.login.reason.network
1446827928983	browserwindow.syncui	DEBUG	observed: weave:service:login:start
1446827928983	browserwindow.syncui	DEBUG	onActivityStart with numActive: 0
1446827928983	browserwindow.syncui	DEBUG	_loginFailed has sync state=error.login.reason.network
1446827928984	Sync.BrowserIDManager	INFO	currentAuthState returning error.login.reason.network due to previous failure
1446827928984	Sync.Status	DEBUG	Status.login: error.login.reason.network => error.login.reason.network
1446827928984	Sync.Status	DEBUG	Status.service: error.login.failed => error.login.failed
1446827928984	Sync.BrowserIDManager	INFO	currentAuthState returning error.login.reason.network due to previous failure
1446827928984	Sync.Status	DEBUG	Status.login: error.login.reason.network => error.login.reason.network
1446827928984	Sync.Status	DEBUG	Status.service: error.login.failed => error.login.failed
1446827928985	Sync.BrowserIDManager	INFO	Waiting for user to be verified.
1446827928985	FirefoxAccounts	DEBUG	already verified
1446827928986	Sync.BrowserIDManager	INFO	Starting fetch for key bundle.
1446827928986	FirefoxAccounts	DEBUG	already verified
1446827928986	Sync.BrowserIDManager	INFO	Getting an assertion from: https://[public_URL]:5000
1446827928986	FirefoxAccounts	DEBUG	enter getAssertion()
1446827928987	FirefoxAccounts	DEBUG	getKeypairAndCertificate: already have keyPair and certificate
1446827928987	FirefoxAccounts	DEBUG	getAssertionFromCert
1446827928991	FirefoxAccounts	DEBUG	getAssertionFromCert returning signed: true
1446827928991	Sync.BrowserIDManager	DEBUG	Getting a token
1446827928992	Common.TokenServerClient	DEBUG	Beginning BID assertion exchange: https://nas.freet.fr:5000
1446827933012	Sync.BrowserIDManager	ERROR	Non-authentication error in _fetchTokenForUser: TokenServerClientNetworkError({"error":{}}) (resource://gre/modules/services-common/tokenserverclient.js:36:36) JS Stack trace: @tokenserverclient.js:36:36 < @browserid_identity.js:14:1 < @status.js:15:1 < SyncServiceObserver.init@sync.js:76:62 < @sync.js:459:1 < require@bootstrap.js:137:7 < @main.js:30:1 < require@bootstrap.js:137:7 < startup@bootstrap.js:21:3 < XPI_callBootstrapMethod@XPIProvider.jsm:4774:9 < XPI_startup@XPIProvider.jsm:2484:13 < callProvider@AddonManager.jsm:221:12 < _startProvider@AddonManager.jsm:828:5 < AMI_startup@AddonManager.jsm:999:9 < AMP_startup@AddonManager.jsm:2672:5 < AMC_observe@addonManager.js:58:7
1446827933014	Sync.Status	DEBUG	Status.login: error.login.reason.network => error.login.reason.network
1446827933014	Sync.Status	DEBUG	Status.service: error.login.failed => error.login.failed
1446827933014	browserwindow.syncui	DEBUG	observed: weave:ui:login:error
1446827933014	browserwindow.syncui	DEBUG	onLoginError: login=error.login.reason.network, sync=success.sync
1446827933015	browserwindow.syncui	DEBUG	_loginFailed has sync state=error.login.reason.network
1446827933015	browserwindow.syncui	DEBUG	observed: weave:ui:login:error
1446827933015	browserwindow.syncui	DEBUG	onLoginError: login=error.login.reason.network, sync=success.sync
1446827933016	browserwindow.syncui	DEBUG	_loginFailed has sync state=error.login.reason.network
1446827933019	Sync.BrowserIDManager	ERROR	Background fetch for key bundle failed: TokenServerClientNetworkError({"error":{}}) (resource://gre/modules/services-common/tokenserverclient.js:36:36) JS Stack trace: @tokenserverclient.js:36:36 < @browserid_identity.js:14:1 < @status.js:15:1 < SyncServiceObserver.init@sync.js:76:62 < @sync.js:459:1 < require@bootstrap.js:137:7 < @main.js:30:1 < require@bootstrap.js:137:7 < startup@bootstrap.js:21:3 < XPI_callBootstrapMethod@XPIProvider.jsm:4774:9 < XPI_startup@XPIProvider.jsm:2484:13 < callProvider@AddonManager.jsm:221:12 < _startProvider@AddonManager.jsm:828:5 < AMI_startup@AddonManager.jsm:999:9 < AMP_startup@AddonManager.jsm:2672:5 < AMC_observe@addonManager.js:58:7
1446827933020	Sync.BrowserIDManager	ERROR	Could not authenticate: TokenServerClientNetworkError({"error":{}}) (resource://gre/modules/services-common/tokenserverclient.js:36:36) JS Stack trace: @tokenserverclient.js:36:36 < @browserid_identity.js:14:1 < @status.js:15:1 < SyncServiceObserver.init@sync.js:76:62 < @sync.js:459:1 < require@bootstrap.js:137:7 < @main.js:30:1 < require@bootstrap.js:137:7 < startup@bootstrap.js:21:3 < XPI_callBootstrapMethod@XPIProvider.jsm:4774:9 < XPI_startup@XPIProvider.jsm:2484:13 < callProvider@AddonManager.jsm:221:12 < _startProvider@AddonManager.jsm:828:5 < AMI_startup@AddonManager.jsm:999:9 < AMP_startup@AddonManager.jsm:2672:5 < AMC_observe@addonManager.js:58:7
1446827933022	FirefoxAccounts	DEBUG	FxAccountsProfileClient: Requested profile
1446827933023	FirefoxAccounts	DEBUG	getOAuthToken enter
1446827933025	FirefoxAccounts	TRACE	getCachedToken returning cached token
1446827933026	FirefoxAccounts	DEBUG	getOAuthToken returning a cached token
1446827933028	browserwindow.syncui	DEBUG	observed: weave:service:login:error
1446827933028	browserwindow.syncui	DEBUG	onActivityStop with numActive: 1
1446827933028	browserwindow.syncui	DEBUG	_loginFailed has sync state=error.login.reason.network
1446827933029	browserwindow.syncui	DEBUG	observed: weave:service:login:error
1446827933029	browserwindow.syncui	DEBUG	onActivityStop with numActive: 1
1446827933029	browserwindow.syncui	DEBUG	_loginFailed has sync state=error.login.reason.network
1446827933029	Sync.SyncScheduler	DEBUG	Clearing sync triggers and the global score.
1446827933030	Sync.SyncScheduler	DEBUG	Next sync in 3600000 ms.
1446827933031	Sync.ErrorHandler	ERROR	Sync encountered a login error
 
Tosh,

Mine is working now :D

After install we need to do this steps:

1st- Open your 5000 port on your router
2nd- Change identity.sync.tokenserver.uri to http://[public url]:5000/token/1.0/sync/1.5
3th- Edit your syncserver.ini file and set/point the host (under [server:main]) to your private qnap ip
4th- Edit your syncserver.ini file and set/point the public_url (under [syncserver]) to http://[public url]:5000/
5th- Restart sync server (or all nas)

Example of syncserver.ini file: (you should change [public url] and put there your public URL)

Code:
[server:main]
use = egg:gunicorn
host = 192.168.1.87
port = 5000
workers = 2
timeout = 30

[app:main]
use = egg:syncserver

[syncserver]
# This must be edited to point to the public URL of your server,
# i.e. the URL as seen by Firefox.
public_url = http://[public url]:5000/

# This defines the database in which to store all server data.
#sqluri = sqlite:////tmp/syncserver.db

# This is a secret key used for signing authentication tokens.
# It should be long and randomly-generated.
# The following command will give a suitable value on *nix systems:
#
#    head -c 20 /dev/urandom | sha1sum
#
# If not specified then the server will generate a temporary one at startup.
#secret = INSERT_SECRET_KEY_HERE

# Set this to "false" to disable new-user signups on the server.
# Only request by existing accounts will be honoured.
# allow_new_users = false

# Set this to "true" to work around a mismatch between public_url and
# the application URL as seen by python, which can happen in certain reverse-
# proxy hosting setups.  It will overwrite the WSGI environ dict with the
# details from public_url.  This could have security implications if e.g.
# you tell the app that it's on HTTPS but it's really on HTTP, so it should
# only be used as a last resort and after careful checking of server config.
force_wsgi_environ = false

# Uncomment and edit the following to use a local BrowserID verifier
# rather than posting assertions to the mozilla-hosted verifier.
# Audiences should be set to your public_url without a trailing slash.
#[browserid]
#backend = tokenserver.verifiers.LocalVerifier
#audiences = https://localhost:5000

Additional note: By default the server will use an in-memory database for storage, meaning that any sync data will be lost on server restart. You will almost certainly want to configure a more permanent database, which can be done with the “sqluri” setting (under [syncserver])

I will try that change and post the feedback...

voilá ;)

cheers
pjgm