Bug: Firefox Sync ain't working on my phone and VM with Windows 7
Status: UNCONFIRMED
Priority: --
Created: 2024-09-27 17:29:19+00:00
Resolved: 2024-10-15 15:45:01+00:00

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Firefox for Android

Steps to reproduce:

I repeatedly logged in on my phone and VM running Windows 7 using ESR version 115.1.0

I forgot to mention I'm using a beta version of Firefox on a Samsung Galaxy S22, latest beta version.


Actual results:

1727456987071	Sync.LogManager	DEBUG	Flushing file log
1727456987075	FirefoxAccounts	TRACE	not checking freshness of profile as it remains recent
1727456987075	FirefoxAccounts	TRACE	not checking freshness of profile as it remains recent
1727456987076	FirefoxAccounts	TRACE	not checking freshness of profile as it remains recent
1727456987098	Services.Common.RESTRequest	DEBUG	POST request to https://api.accounts.firefox.com/v1/account/scoped-key-data
1727456987098	Services.Common.RESTRequest	DEBUG	POST Length: 84
1727456987099	Sync.LogManager	DEBUG	Log cleanup threshold time: 1726592987099
1727456987104	Sync.LogManager	DEBUG	Done deleting files.
1727456987278	Services.Common.RESTRequest	DEBUG	POST https://api.accounts.firefox.com/v1/account/scoped-key-data 200
1727456987280	Hawk	DEBUG	(Response) /account/scoped-key-data: code: 200 - Status text: OK
1727456987281	Hawk	DEBUG	Clock offset vs https://api.accounts.firefox.com/v1: -281
1727456987282	FirefoxAccounts	DEBUG	Fetching keys with token true from https://api.accounts.firefox.com/v1
1727456987289	Services.Common.RESTRequest	DEBUG	GET request to https://api.accounts.firefox.com/v1/account/keys
1727456987406	Services.Common.RESTRequest	DEBUG	GET https://api.accounts.firefox.com/v1/account/keys 401
1727456987406	Hawk	DEBUG	(Response) /account/keys: code: 401 - Status text: Unauthorized
1727456987406	Hawk	DEBUG	Clock offset vs https://api.accounts.firefox.com/v1: -406
1727456987406	Hawk	DEBUG	Received 401 for /account/keys: retrying
1727456987413	Services.Common.RESTRequest	DEBUG	GET request to https://api.accounts.firefox.com/v1/account/keys
1727456987488	Services.Common.RESTRequest	DEBUG	GET https://api.accounts.firefox.com/v1/account/keys 401
1727456987489	Hawk	DEBUG	(Response) /account/keys: code: 401 - Status text: Unauthorized
1727456987489	Hawk	DEBUG	Clock offset vs https://api.accounts.firefox.com/v1: -489
1727456987489	FirefoxAccounts	ERROR	error GETing /account/keys: {"code":401,"errno":110,"error":"Unauthorized","message":"The authentication token could not be found","info":"https://mozilla.github.io/ecosystem-platform/api#section/Response-format"}
1727456987490	FirefoxAccounts	WARN	handling invalid token error: {"code":401,"errno":110,"error":"Unauthorized","message":"The authentication token could not be found","info":"https://mozilla.github.io/ecosystem-platform/api#section/Response-format"}
1727456987490	FirefoxAccounts	INFO	checking account status...
1727456987492	Services.Common.RESTRequest	DEBUG	GET request to https://api.accounts.firefox.com/v1/session/status
1727456987564	Services.Common.RESTRequest	DEBUG	GET https://api.accounts.firefox.com/v1/session/status 200
1727456987564	Hawk	DEBUG	(Response) /session/status: code: 200 - Status text: OK
1727456987564	Hawk	DEBUG	Clock offset vs https://api.accounts.firefox.com/v1: -564
1727456987565	FirefoxAccounts	INFO	account status: ok
1727456987565	FirefoxAccounts	WARN	invalid token error, but account state appears ok?
1727456987565	FirefoxAccounts	WARN	Failed to fetch keys, so unable to determine sendtab keys: {"code":401,"errno":110,"error":"Unauthorized","message":"The authentication token could not be found","info":"https://mozilla.github.io/ecosystem-platform/api#section/Response-format"}
1727456988455	Sync.Engine.Tabs.Tracker	DEBUG	Detected a tab change, but conditions aren't met for a quick write or a score bump
1727456988621	Sync.Engine.Tabs.Tracker	DEBUG	Detected a tab change, but conditions aren't met for a quick write or a score bump
1727456988623	Sync.Engine.Tabs.Tracker	DEBUG	Detected a tab change, but conditions aren't met for a quick write or a score bump
1727456988640	FirefoxAccounts	TRACE	not checking freshness of profile as it remains recent
1727456988640	FirefoxAccounts	TRACE	not checking freshness of profile as it remains recent
1727456988640	FirefoxAccounts	TRACE	not checking freshness of profile as it remains recent
1727456988640	FirefoxAccounts	TRACE	not checking freshness of profile as it remains recent
1727456991242	Sync.RemoteTabs	INFO	Doing a tab sync.
1727456991244	Sync.Service	DEBUG	User-Agent: Firefox/115.15.0 (Windows NT 6.1; Win64; x64) FxSync/1.117.0.20240826114832.desktop
1727456991245	Sync.Service	INFO	Starting sync at 2024-09-27 12:09:51 in browser session 7tvA8spPhCM_
1727456991247	Sync.SyncScheduler	DEBUG	Clearing sync triggers and the global score.
1727456991284	Sync.Status	INFO	Resetting Status.
1727456991284	Sync.Status	DEBUG	Status.service: error.sync.failed => success.status_ok
1727456991285	Sync.RemoteTabs	INFO	Generating tab list with filter
1727456991313	FirefoxAccounts	TRACE	not checking freshness of profile as it remains recent
1727456991313	FirefoxAccounts	TRACE	not checking freshness of profile as it remains recent
1727456991314	FirefoxAccounts	TRACE	not checking freshness of profile as it remains recent
1727456991314	Sync.SyncAuthManager	INFO	Getting sync key
1727456991335	Sync.RemoteTabs	INFO	Final tab list has 0 clients with 0 tabs.
1727456991495	Services.Common.RESTRequest	DEBUG	POST request to https://api.accounts.firefox.com/v1/account/scoped-key-data
1727456991495	Services.Common.RESTRequest	DEBUG	POST Length: 84
1727456991653	Services.Common.RESTRequest	DEBUG	POST https://api.accounts.firefox.com/v1/account/scoped-key-data 200
1727456991654	Hawk	DEBUG	(Response) /account/scoped-key-data: code: 200 - Status text: OK
1727456991654	Hawk	DEBUG	Clock offset vs https://api.accounts.firefox.com/v1: -654
1727456991654	FirefoxAccounts	DEBUG	Fetching keys with token true from https://api.accounts.firefox.com/v1
1727456991657	Services.Common.RESTRequest	DEBUG	GET request to https://api.accounts.firefox.com/v1/account/keys
1727456992139	Services.Common.RESTRequest	DEBUG	GET https://api.accounts.firefox.com/v1/account/keys 401
1727456992141	Hawk	DEBUG	(Response) /account/keys: code: 401 - Status text: Unauthorized
1727456992142	Hawk	DEBUG	Clock offset vs https://api.accounts.firefox.com/v1: -142
1727456992142	Hawk	DEBUG	Received 401 for /account/keys: retrying
1727456992148	Services.Common.RESTRequest	DEBUG	GET request to https://api.accounts.firefox.com/v1/account/keys
1727456992331	Services.Common.RESTRequest	DEBUG	GET https://api.accounts.firefox.com/v1/account/keys 401
1727456992331	Hawk	DEBUG	(Response) /account/keys: code: 401 - Status text: Unauthorized
1727456992331	Hawk	DEBUG	Clock offset vs https://api.accounts.firefox.com/v1: -331
1727456992333	FirefoxAccounts	ERROR	error GETing /account/keys: {"code":401,"errno":110,"error":"Unauthorized","message":"The authentication token could not be found","info":"https://mozilla.github.io/ecosystem-platform/api#section/Response-format"}
1727456992337	FirefoxAccounts	WARN	handling invalid token error: {"code":401,"errno":110,"error":"Unauthorized","message":"The authentication token could not be found","info":"https://mozilla.github.io/ecosystem-platform/api#section/Response-format"}
1727456992338	FirefoxAccounts	INFO	checking account status...
1727456992344	Services.Common.RESTRequest	DEBUG	GET request to https://api.accounts.firefox.com/v1/session/status
1727456992477	Services.Common.RESTRequest	DEBUG	GET https://api.accounts.firefox.com/v1/session/status 200
1727456992477	Hawk	DEBUG	(Response) /session/status: code: 200 - Status text: OK
1727456992477	Hawk	DEBUG	Clock offset vs https://api.accounts.firefox.com/v1: -477
1727456992478	FirefoxAccounts	INFO	account status: ok
1727456992478	FirefoxAccounts	WARN	invalid token error, but account state appears ok?
1727456992479	Sync.SyncAuthManager	ERROR	Authentication error in _fetchTokenForUser: {"details":{"code":401,"errno":110,"error":"Unauthorized","message":"The authentication token could not be found","info":"https://mozilla.github.io/ecosystem-platform/api#section/Response-format"},"source":"hawkclient"}
1727456992481	Sync.Status	DEBUG	Status.login: success.login => error.login.reason.account
1727456992481	Sync.Status	DEBUG	Status.service: success.status_ok => error.login.failed
1727456992486	Sync.SyncAuthManager	INFO	Failed to fetch the cluster URL: {"details":{"code":401,"errno":110,"error":"Unauthorized","message":"The authentication token could not be found","info":"https://mozilla.github.io/ecosystem-platform/api#section/Response-format"},"source":"hawkclient"}
1727456992486	Sync.SyncAuthManager	DEBUG	Cluster value = null
1727456992487	Sync.Status	DEBUG	Status.sync: success.sync => error.sync.reason.no_node_found
1727456992487	Sync.Status	DEBUG	Status.service: error.login.failed => error.sync.failed
1727456992487	Sync.Synchronizer	INFO	No cluster URL found. Cannot sync.
1727456992492	Sync.SyncScheduler	DEBUG	Next sync in 600000 ms. (why=schedule)
1727456992531	FirefoxAccounts	TRACE	not checking freshness of profile as it remains recent
1727456992533	FirefoxAccounts	INFO	Generating and persisting encrypted sendtab keys
1727456992533	FirefoxAccounts	TRACE	not checking freshness of profile as it remains recent


Expected results:

I should've been logged in completely, but both aren't.

The VM one says: Please sign in to reconnect whovianmediagroup@proton.me