Firefox-ios: FXIOS-366 ⁃ notDecrypted receiving a tab

Created on 24 Apr 2020  ·  16Comments  ·  Source: mozilla-mobile/firefox-ios

Using the latest beta 25.0 (17610), I'm getting a Error: notDecrypted notification when receiving a tab from Desktop nightly.

┆Issue is synchronized with this Jira Task

5 Bug 🐞

All 16 comments

Any theories as to why? Or if there is something we can do to recover from that state? I assume it is persistently bad for you and not an intermittent thing

Was the Beta upgraded from prev such that you were already signed-in to sync? Or could this be a migration problem. This debug error is new, in the past it would just say "Tap to begin", and we had regular reports of that error in the past. Any guess as whether this is a new issue or might it be the old "Tap to begin" bug resurfaced as this error?

Any theories as to why? Or if there is something we can do to recover from that state? I assume it is persistently bad for you and not an intermittent thing

Not sure, maybe we should log more information, because it could be related to a lot of things currently.

Do you have more than one build installed? Both beta and release?

I just had this error, but after uninstalling all other versions on my device and restarting the Beta I can't repro that error anymore. I am wondering if handling the sendtab message by multiple copies of the app is possible.
image

Only one build (no Firefox release installed), and I can reproduce reliably.

A new v25 beta will be out within the hour. It will be interesting to see if that fixes it.

Was able to successfully receive a tab iPhone 11 with beta 17793 and OS 13.3.1. Sending from Nightly 77.0a1

Same but seems intermittent, sometimes no tab is received. However, an intermittent response would not relate to this bug.

Closing as this seems to be a false alarm, I can't repro, but I was definitely in a state where the logins and passwords screen was empty.

Did you mean to close another bug?

Sorry yeah

Removing release blocker tag as we only have this report so far on Beta. It is being heavily tested by QA and so far it is looking ok.

The error has now changed to showing this error https://searchfox.org/mozilla-mobile/source/application-services/components/fxa-client/src/device.rs#148

The code may be hitting this, needs more logging to know for sure: https://searchfox.org/mozilla-mobile/rev/5ddcdb1fc493e29cce76a5e57ae12a02dc6305be/application-services/components/fxa-client/src/device.rs#182-185

Re-opening this bug unless we open another one to track the changed error.

Opened a PR that might fix the problem: https://github.com/mozilla/application-services/pull/3065

Confirming that testing the a-s patch above fixes the error seen on iOS. The patch catches the decryption error and resets the necessary keys.

Update: we're still seeing issues such as "Could not find refresh token" (it should ALWAYS be present).

I found some errors Access to item attempted while keychain is locked in the console.

Update: https://github.com/mozilla/application-services/issues/3083 seems to be the culprit here.

Was this page helpful?
0 / 5 - 0 ratings