Firefox Sync on Android not syncing with own sync server
Hi there!
For the last few month my Firefox on Android won't sync with my own sync server anymore. Syncing works on Ubuntu Desktop Firefox. On Android the same URL is configured and worked before.
I tried reinstalling Firefox and installing Firefox Nightly, but I cannot get it to sync: Login in to Account works, but "Last synced" either says "never" or "Jan 1, 1970".
I tried debugging as shown in the mozilla docs (https://wiki.mozilla.org/User_Services/Sync/Debug_Sync)
04-28 11:44:26.995 17435 17479 I FirefoxAccount: Executing: get access token 04-28 11:44:27.041 17435 17479 I FirefoxAccount: Successfully executed: get access token 04-28 11:44:27.042 17435 17479 I FirefoxAccount: Executing: getTokenServerEndpointURL 04-28 11:44:27.044 17435 17479 I FirefoxAccount: Successfully executed: getTokenServerEndpointURL 04-28 11:44:27.047 17435 17479 I FxaDeviceConstellation: Refreshing device list... 04-28 11:44:27.047 17435 17479 I FxaDeviceConstellation: Executing: fetching all devices 04-28 11:44:28.094 17435 17479 I FxaDeviceConstellation: Successfully executed: fetching all devices 04-28 11:44:28.095 17435 17479 I FxaDeviceConstellation: Refreshed device list; saw 9 device(s). 04-28 11:44:28.095 17435 17479 I FxaDeviceConstellation: Notifying observer about constellation updates. 04-28 11:44:28.095 17435 17479 I ConstellationObserver: onDevicesUpdate triggered. 04-28 11:44:28.096 17435 17479 I FxaDeviceConstellation: Notifying observer about constellation updates. 04-28 11:44:28.097 17435 17479 I FxaDeviceConstellation: Executing: polling for device commands 04-28 11:44:28.103 17435 17512 I FxaPushSupportFeature: Created a new subscription: onDevicesUpdate: AutoPushSubscription(scope=fxa_push_scope_*** endpoint=https://updates.push.services.mozilla.com/wpush/v1/***, publicKey=***-***, authKey=***, appServerKey=null) 04-28 11:44:28.406 17435 17479 I FxaDeviceConstellation: Successfully executed: polling for device commands 04-28 11:44:28.406 17435 17479 I AccountEventsIntegration: Received events, notifying listeners 04-28 11:44:28.409 17435 17479 I SyncTelemetry: Reported telemetry for 0 sent commands 04-28 11:44:28.409 17435 17479 I SyncTelemetry: Reported telemetry for 0 received commands
The logs of the docker container do not provide useful info:
[2022-04-28 09:07:24 +0000] [8] [INFO] Starting gunicorn 19.10.0
[2022-04-28 09:07:24 +0000] [8] [INFO] Listening at: http://0.0.0.0:6000 (8)
[2022-04-28 09:07:24 +0000] [8] [INFO] Using worker: sync
[2022-04-28 09:07:24 +0000] [16] [INFO] Booting worker with pid: 16
What can I do here?
Thank you very much!
All Replies (5)
Hi
Do you still have your sync server set correctly in the secret settings in Firefox for Android Nightly?
Hi and thanks for your reply,
Yes I have, both in Nightly and in the normal Firefox on Android. Same sync server string is set on desktop browser and works there.
Sorry, but the docs you followed are slightly out of date and the client log you pasted doesn't have the info we need. Can you please try something like `adb logcat | grep -i '(account)|(sync)'`
Modified
Note also that https is required - this can be changed via a pref on desktop, but not android
I updated that debugging article - the correct command is:
adb logcat | grep -i -E "(sync15|sync_manager|FirefoxAccount)"