Bug: Edgewave/Iprism firewall server causes Firefox to think it's always behind a captive portal
Status: NEW
Priority: P3
Created: 2021-11-12 22:59:04+00:00
Resolved: 2022-03-03 18:00:52+00:00

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0

Steps to reproduce:

1. Log in to windows 10 workstation
2. Launch Firefox
3. Log in to sync with astearns@newportortho.com
4. Nothing loads.  No bookmarks, no addins, no history, nothing.
***
Sign out completely from all devices. (no mobile, only windows)
Repeat steps 1-4 on two more workstations.
Same results.



Actual results:

Nothing synced.  It's as if I logged in as a blank, new profile.
1636756459210	Sync.LogManager	DEBUG	Flushing file log
1636756459214	FirefoxAccounts	TRACE	FxAccountsPush registerPushEndpoint
1636756459216	FirefoxAccounts	DEBUG	FxAccountsPush got subscription
1636756459216	Sync.BulkKeyBundle	INFO	BulkKeyBundle being created for undefined
1636756459217	FirefoxAccounts	INFO	registering with available commands: ["https://identity.mozilla.com/cmd/open-uri"]
1636756459217	FirefoxAccounts	DEBUG	registering new device details
1636756459218	Services.Common.RESTRequest	DEBUG	POST request to https://api.accounts.firefox.com/v1/account/device
1636756459218	Services.Common.RESTRequest	DEBUG	POST Length: 854
1636756459224	FirefoxAccounts	TRACE	finished write of json user data - took: 29
1636756459225	FirefoxAccounts	DEBUG	writing secure storage: ["scopedKeys","kSync","kXCS","kExtSync","kExtKbHash"]
1636756459225	FirefoxAccounts	TRACE	starting write of user data to the login manager
1636756459236	FirefoxAccounts	TRACE	finished write of user data to the login manager
1636756459244	Sync.LogManager	DEBUG	Log cleanup threshold time: 1635892459244
1636756459250	Sync.LogManager	DEBUG	Done deleting files.
1636756459316	Services.Common.RESTRequest	DEBUG	POST https://api.accounts.firefox.com/v1/account/device 200
1636756459316	Hawk	DEBUG	(Response) /account/device: code: 200 - Status text: OK
1636756459316	Hawk	DEBUG	Clock offset vs https://api.accounts.firefox.com/v1: -316
1636756459317	FirefoxAccounts	DEBUG	_updateAccountData with items: ["device"]
1636756459317	FirefoxAccounts	DEBUG	writing plain storage: ["email","sessionToken","uid","verified","device","oauthTokens","profileCache"]
1636756459317	FirefoxAccounts	TRACE	starting write of json user data: ["email","sessionToken","uid","verified","device","oauthTokens","profileCache"]
1636756459317	Sync.BulkKeyBundle	INFO	BulkKeyBundle being created for undefined
1636756459323	FirefoxAccounts	TRACE	finished write of json user data - took: 6
1636756459323	FirefoxAccounts	DEBUG	writing secure storage: ["scopedKeys","kSync","kXCS","kExtSync","kExtKbHash"]
1636756459323	FirefoxAccounts	TRACE	starting write of user data to the login manager
1636756459332	FirefoxAccounts	TRACE	finished write of user data to the login manager
1636756459418	Sync.SyncScheduler	DEBUG	Clearing sync triggers and the global score.
1636756465670	Sync.RemoteTabs	INFO	Doing a tab sync.
1636756465670	Sync.Service	DEBUG	User-Agent: Firefox/94.0.1 (Windows NT 10.0; Win64; x64) FxSync/1.96.0.20211103134640.desktop
1636756465670	Sync.Service	INFO	Starting sync at 2021-11-12 14:34:25 in browser session mLdxTOZTa5la
1636756465670	Sync.SyncScheduler	DEBUG	Clearing sync triggers and the global score.
1636756465671	Sync.Status	INFO	Resetting Status.
1636756465671	Sync.Status	DEBUG	Status.service: error.sync.failed => success.status_ok
1636756465671	Sync.Status	DEBUG	Status.sync: success.sync => error.login.reason.network
1636756465671	Sync.Status	DEBUG	Status.service: success.status_ok => error.sync.failed
1636756465671	Sync.RemoteTabs	INFO	Generating tab list with filter
1636756465671	Sync.RemoteTabs	INFO	Final tab list has 0 clients with 0 tabs.
1636756465671	Sync.ErrorHandler	ERROR	Sync encountered an error: Error: Can't sync: Network is offline(resource://services-sync/stages/enginesync.js:59:13) JS Stack trace: sync@enginesync.js:59:13
onNotify@service.js:1351:28
WrappedNotify@util.js:210:32
WrappedLock@util.js:166:27
_lockedSync@service.js:1370:6
sync/<@service.js:1334:18
WrappedCatch@util.js:133:27
sync@service.js:1335:7
1636756465671	Sync.SyncScheduler	DEBUG	Sync error count has exceeded 3; enforcing backoff.
1636756465671	Sync.SyncScheduler	DEBUG	Starting client-initiated backoff. Next sync in 6418782 ms.
1636756465671	Sync.SyncScheduler	DEBUG	Next sync in 6418782 ms. (why=client-backoff-schedule)
1636756465711	Sync.Service	DEBUG	Exception calling anonymous function: Error: Can't sync: Network is offline(resource://services-sync/stages/enginesync.js:59:13) JS Stack trace: sync@enginesync.js:59:13
onNotify@service.js:1351:28
WrappedNotify@util.js:210:32
WrappedLock@util.js:166:27
_lockedSync@service.js:1370:6
sync/<@service.js:1334:18
WrappedCatch@util.js:133:27
sync@service.js:1335:7



Expected results:

Bookmarks, history, etc should have loaded when logging in.