Closed Bug 605677 Opened 15 years ago Closed 14 years ago

NS_ERROR_FAILURE from nsIKeyObjectFactory.keyFromString and IWeaveCrypto.generateRandomKey

Categories

(Firefox :: Sync, defect)

PowerPC
macOS
defect
Not set
major

Tracking

()

RESOLVED WONTFIX

People

(Reporter: jhart50, Unassigned)

Details

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 Sync encountered an unknown error. The Sync extension won't run on this particular computer. It works on 2 others that are running the same build of FireFox and the same version of Sync. In all cases, only the Bookmarks are being synchronized. Uninstalling and re-installing the extension doesn't help nor does disabling all other extensions. Reproducible: Always Steps to Reproduce: 1. Tools > Sync > Sync Now Actual Results: "Error While Syncing" message in the status bar Expected Results: Successfully synced the bookmarks. There are similar bugs logged, but their Firefox version is different and the sync-log output is different. about:sync-log 2010-10-19 19:57:34 Service.Main INFO Loading Weave 1.5 2010-10-19 19:57:34 Engine.Bookmarks DEBUG Engine initialized 2010-10-19 19:57:34 Engine.Forms DEBUG Engine initialized 2010-10-19 19:57:34 Engine.History DEBUG Engine initialized 2010-10-19 19:57:34 Engine.Passwords DEBUG Engine initialized 2010-10-19 19:57:34 Engine.Prefs DEBUG Engine initialized 2010-10-19 19:57:34 Engine.Tabs DEBUG Engine initialized 2010-10-19 19:57:34 Engine.Tabs DEBUG Resetting tabs last sync time 2010-10-19 19:57:34 Service.Main INFO Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 2010-10-19 19:57:34 Service.Util DEBUG Using a fake svc object for @labs.mozilla.com/Weave/Crypto;2 2010-10-19 19:57:34 Service.Main DEBUG Caching URLs under storage user base: https://phx-sync334.services.mozilla.com/1.0/jhart50/ 2010-10-19 19:57:44 Service.Main INFO Logging in user jhart50 2010-10-19 19:57:45 Net.Resource DEBUG GET success 200 https://phx-sync334.services.mozilla.com/1.0/jhart50/info/collections 2010-10-19 19:57:46 Net.Resource DEBUG GET success 200 https://phx-sync334.services.mozilla.com/1.0/jhart50/storage/keys/pubkey 2010-10-19 19:57:46 Net.Resource DEBUG GET success 200 https://phx-sync334.services.mozilla.com/1.0/jhart50/storage/keys/privkey 2010-10-19 19:57:55 Net.Resource DEBUG GET success 200 https://phx-sync334.services.mozilla.com/1.0/jhart50/info/collections 2010-10-19 19:57:55 Service.Main DEBUG Clearing cached crypto records 2010-10-19 19:57:55 Service.Main DEBUG Clearing cached keys records 2010-10-19 19:57:55 Service.Main DEBUG Clearing cached meta record. 2010-10-19 19:57:55 Net.Resource DEBUG GET success 200 https://phx-sync334.services.mozilla.com/1.0/jhart50/storage/meta/global 2010-10-19 19:57:55 Service.Main DEBUG Weave Version: 1.5 Local Storage: 3 Remote Storage: 3 2010-10-19 19:57:55 Net.Resource DEBUG GET success 200 https://phx-sync334.services.mozilla.com/1.0/jhart50/storage/keys/pubkey 2010-10-19 19:57:55 Net.Resource DEBUG GET success 200 https://phx-sync334.services.mozilla.com/1.0/jhart50/storage/keys/privkey 2010-10-19 19:57:55 Net.Resource DEBUG GET success 200 https://phx-sync334.services.mozilla.com/1.0/jhart50/storage/crypto/clients 2010-10-19 19:57:55 Engine.Clients DEBUG Purging bad data after failed unwrap crypto: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIKeyObjectFactory.keyFromString]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: file:///Users/jhart/Library/Application%20Support/Firefox/Profiles/u1ofw2ex.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/modules/base_records/crypto.js :: anonymous :: line 196" data: no] 2010-10-19 19:57:55 Net.Resource DEBUG DELETE success 200 https://phx-sync334.services.mozilla.com/1.0/jhart50/storage/clients 2010-10-19 19:57:55 Engine.Clients DEBUG Resetting clients last sync time 2010-10-19 19:57:55 Engine.Clients WARN Sync failed 2010-10-19 19:57:55 Engine.Clients DEBUG Total (ms): sync 268, syncStartup 267, resetClient 5, wipeClient 5, resetLastSync 2, wipeServer 129 2010-10-19 19:57:55 Service.Main DEBUG Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [IWeaveCrypto.generateRandomKey] Stack trace: SyncEngine__syncStartup()@engines.js:412 < anonymous()@engines.js:196 < SyncEngine__sync()@engines.js:749 < anonymous()@engines.js:196 < WrappedNotify()@util.js:115 < Engine_sync()@engines.js:206 < WeaveSvc__syncEngine()@service.js:1559 < anonymous()@service.js:1415 < WrappedNotify()@util.js:115 < WrappedLock()@util.js:87 < WrappedCatch()@util.js:66 < sync()@service.js:1332 < anonymous()@sync.js:380 2010-10-19 19:57:55 Service.Engines DEBUG Could not get engine: clients 2010-10-19 19:57:55 Service.Main DEBUG Exception: Some engines did not sync correctly No traceback available
Version: unspecified → 3.6 Branch
Component: General → Firefox Sync: Backend
Product: Firefox → Mozilla Services
QA Contact: general → sync-backend
Version: 3.6 Branch → unspecified
Looks like calls to various crypto routines don't work for you. I was going to suggest to try Firefox 4, but I see you're using PPC which I don't think we support anymore.
Component: Firefox Sync: Backend → Firefox Sync: Crypto
QA Contact: sync-backend → sync-crypto
Summary: Sync "Unknown error" → NS_ERROR_FAILURE from nsIKeyObjectFactory.keyFromString and IWeaveCrypto.generateRandomKey
Does this still happen with 3.6.16 and Sync 1.7? Might I suggest giving TenFourFox a try, if you want to see the behavior in current trunk?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Also, do you have FIPS mode enabled? See Bug 443386.
I'm going to mark this as WONTFIX, since PPC builds aren't supported in current Firefox, and the add-on is EOL.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
Component: Firefox Sync: Crypto → Sync
Product: Cloud Services → Firefox
You need to log in before you can comment on or make changes to this bug.