[VPN] After the sign-in flow, VPN fails and shows "Couldn't connect to VPN". Connects successfully on a second try.
Categories
(Firefox for Android :: Privacy, defect)
Tracking
()
People
(Reporter: kruparelia, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid] [android-activation-trust])
Attachments
(1 obsolete file)
After the sign-in flow, when VPN is enabled, it fails and shows "Couldn't connect to VPN, try again later". Then when you try immediately, it works, and the user is connected.
Steps to reproduce
- Clean the app, sign in as a user
- Try to connect to the VPN
- See "Couldn't connect to VPN, try again later"
- Try to connect to the VPN again
- Connected
Expected Behavior
Able to connect to the VPN on first try
Actual Behavior
VPN shows "Couldn't connect to VPN, try again later." Then, you are connected on a second try.
| Reporter | ||
Updated•1 month ago
|
| Reporter | ||
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
| Reporter | ||
Updated•1 month ago
|
Comment 1•1 month ago
|
||
This bug will be resolved by the combination of patches from bug 2057032, bug 2058646, bug 2060973.
Comment 2•25 days ago
|
||
I managed to reproduce the issue intermittently where both the "Couldn't connect to VPN" and "Continue without VPN?" errors appear simultaneously after a sign-in on the Fx Beta 154.0b10 build with a Google Pixel 7a (Android 16) and an Oppo A15s (Android 10) with the following steps:
- Open a clean Fx Beta 154.0b10 profile.
- Complete the browser onboarding.
- Sign in to Sync with an FxA account that hasn't used VPN before (I created a new account on the spot).
- Enroll in the experiment via Nimbus:
nimbus-cli --app fenix --channel beta enroll preview/vpn-android-phase-0-progressive-relaunch --branch control. - Open the menu and quickly navigate to Settings > VPN.
- Tap "Get started", then tap "Continue".
- Wait until the "Connecting..." state disappears, then tap the VPN toggle rapidly several times while it is still off.
Additional Notes:
- This does not reproduce every time. And in some tries, only the "Couldn't connect to VPN" error appeared.
- I tried capturing an
about:loggingprofile, but because the steps need to be executed quickly and the app restarts after enrolling in the experiment, the logging session seems to resets. Please let me know if there's another way I can gather logs or debug data to help investigate. - video
Comment 3•20 days ago
|
||
(In reply to Alexandra Martin [:alemartin], FxA/SubPlat/VPN QA from comment #2)
I managed to reproduce the issue intermittently where both the "Couldn't connect to VPN" and "Continue without VPN?" errors appear simultaneously after a sign-in on the Fx Beta 154.0b10 build with a Google Pixel 7a (Android 16) and an Oppo A15s (Android 10) with the following steps:
Thanks alemartin! We believe these intermittent situations will be improved with bug 2061846 (currently being uplifted to 154).
Additional Notes:
- This does not reproduce every time. And in some tries, only the "Couldn't connect to VPN" error appeared.
- I tried capturing an
about:loggingprofile, but because the steps need to be executed quickly and the app restarts after enrolling in the experiment, the logging session seems to resets. Please let me know if there's another way I can gather logs or debug data to help investigate.
I've also filed bug 2064178 for this.
I'm going to close this bug as resolved since the behaviour we were seeing is now resolved, the linked bugs have landed, and comment 2 STR are triggering a similar looking user-effect from a different set of STR.
We can file new bugs accordingly.
Comment 4•20 days ago
•
|
||
:alemartin, I think about:logging is probably the wrong choice here and that was my bad for suggesting it. Do you have adb installed? If yes, you might try capturing logs by running adb logcat. Run that before enrolling and leave it running through the restart.
Comment 5•19 days ago
|
||
While verifying 2061846 in Fx Nightly 156.0a1 (Build #2016179263), I was able to reproduce intermittently the "Couldn't connect to VPN" error again. Should I file a new bug for this or reopen this one?
And thank you Lesley for the suggestion, I will try it when a restart is needed.
Comment 6•17 days ago
|
||
If you see it again with those adb logs or network ones, then a new bug would be great - thanks!
Comment 7•13 days ago
|
||
Bug 2066104 has been logged, and I've attached the logs from Android Studio. (Standard adb logcat didn't seem to capture the VPN errors for some reason, but I have several saved if you'd like those as well.) Let me know if anything else is needed. Thanks!
Description
•