[IPProtection] Onboarding card flow is broken for already authenticated users
Categories
(Firefox for Android :: Privacy, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox152 | --- | unaffected |
| firefox153 | --- | verified |
| firefox154 | --- | verified |
People
(Reporter: mavduevskiy, Assigned: mavduevskiy)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression, Whiteboard: [fxdroid])
Attachments
(3 files, 1 obsolete file)
link to STP
Steps to reproduce
- Log in into account
- Wait for the onboarding popup (in the video, I forced it to be always shown, for the ease of testing)
- Authorize vpn
Expected behavior
VPN turns on
Actual behavior
VPN shows an error and locks in "connecting" state until the next cold start
Device information
- Firefox version:
- Android device model:
- Android OS version:
Any additional information?
| Assignee | ||
Updated•2 months ago
|
Comment 1•2 months ago
|
||
Set release status flags based on info from the regressing bug 2050967
| Assignee | ||
Comment 2•2 months ago
|
||
... in users.
Please enter the commit message for your changes. Lines starting
Updated•2 months ago
|
Updated•2 months ago
|
| Assignee | ||
Comment 3•2 months ago
|
||
Updated•2 months ago
|
Comment 4•2 months ago
|
||
Comment on attachment 9604809 [details]
Bug 2052599 - Part 2: Add testing coverage
Revision D310680 was moved to bug 2052966. Setting attachment 9604809 [details] to obsolete.
Updated•2 months ago
|
Updated•2 months ago
|
| Assignee | ||
Comment 7•2 months ago
|
||
...in users.
Original Revision: https://phabricator.services.mozilla.com/D310430
Updated•2 months ago
|
Comment 8•2 months ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: The patch fixes vpn onboarding flow for already existing users. Without it, a logged in user going through "try vpn" flow will get stuck in "connecting" state until they they restart (cold start) the app.
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: no
- Steps to reproduce for manual QE testing:
- Risk associated with taking this patch: low
- Explanation of risk level: The patch is scoped to the VPN feature, and consists in slight adjustments to the vpn state machine.
- String changes made/needed?: no
- Is Android affected?: yes
Updated•2 months ago
|
Updated•2 months ago
|
Comment 10•1 month ago
|
||
Hi,
We verified this bug on Firefox 153.0b11 and the latest Nightly build 154.0a1 (Build #2016172351). Following the steps previously provided by Mike, we are no longer able to reproduce the issue.
However, we noticed that the error is displayed when performing the following steps:
- Set the device locale to US.
- Clear the Google Play Store cache.
- Install the Beta/Nightly build.
- Sign in to Sync using a newly created account.
- Change the device date to 7 days in the future.
- Force close (swipe away) Firefox.
- Reopen Firefox and go through the onboarding flow.
Based on our observations, the issue reproduces intermittently under these conditions.
Would you recommend reopening this issue, or should we file a new bug to track this intermittent behavior?
Thanks.
| Assignee | ||
Comment 11•1 month ago
|
||
hi,
thank you for verifying that the initial patch works!
I spent quite a bit of time debugging, and you found a separate issue - a race condition. When we move the device clock, we force the fxa tokens to expire, and that forces fxa to reauth (on a good connection, it takes ~4, 5 seconds to finalize and report ready). If by that time the user has initiated the vpn auth flow (onboarding or (!) through regular vpn settings screen), we fail to initialize vpn machinery properly, and we end up in broken state. I will create a separate bug for that.
| Assignee | ||
Comment 12•1 month ago
•
|
||
opsy, the intention was to close it and work on the new issue separately.
the follow up
https://bugzilla.mozilla.org/show_bug.cgi?id=2054812
Updated•1 month ago
|
Description
•