Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random VPN Disconnect Notification #6349

Open
2 tasks done
gsture opened this issue Jun 14, 2024 · 6 comments
Open
2 tasks done

Random VPN Disconnect Notification #6349

gsture opened this issue Jun 14, 2024 · 6 comments
Labels
Android Issues related to Android bug

Comments

@gsture
Copy link

gsture commented Jun 14, 2024

Is it a bug?

  • I know this is an issue with the app, and contacting Mullvad support is not relevant.

I have checked if others have reported this already

  • I have checked the issue tracker to see if others have reported similar issues.

Current Behavior

The os randomly says "disconnected from always on VPN" and start blocking connections. It seems like the app is not aware that the vpn is disconnected or the os just thinks the vpn is disconnected while it's not. The mullvad app notification still says the vpn is connected. This seems to happen randomly although internet connection is till fine. If i press the notification / open the mullvad vpn app the vpn seems to reconnect and the notification goes away. The app is allowed to run in background.

334753977-1fe9365c-b13e-438f-adfd-adabc4fe572d

Expected Behavior

The vpn should stay connected or reconnect when it's disconnected. It's now like the app is not aware that the vpn is disconnected or the os just thinks the vpn is disconnected while it's not.

Steps to Reproduce

The error seems to happen randomly a few times a day with mullvad on pixel 8/8a with latest grapheneos release. The error only happens with memory tagging enabled. If you disable memory tagging the vpn stays connected.

Failure Logs

Failure log 1 (This log has been captured right after opening the disconnect notification, which sends me to the vpn app, which then seems to reconnect.)

Android version

GrapheneOS 14 (AP2A.240605.024)

Device model

2 x Pixel 8 and 1 x Pixel 8a

Mullvad VPN app version

2024.2

Additional Information

I also reported this to grapheneos but they say it's not an os bug. They say it could be due to a network error occurring but in case of a network error the vpn should reconnect.

@gsture gsture added the bug label Jun 14, 2024
@Rawa Rawa added the Android Issues related to Android label Jun 14, 2024
@gsture
Copy link
Author

gsture commented Jun 15, 2024

This issue is now happening multiple times a day. Makes the vpn kind of unusable. Am i the only one that is experiencing this issue? I have added a failure log.

@MrChocolatine
Copy link
Contributor

MrChocolatine commented Jun 15, 2024

Same issue as #6292 that you closed. (just for the record)

@albin-mullvad
Copy link
Collaborator

Thanks for the report, we'll look into this! We are aware of some strange behavior when running the app on GrapheneOS and/or Work Profiles but haven't been able to pinpoint the exact problem.

@gsture
Copy link
Author

gsture commented Jun 18, 2024

For what it's worth: I never encountered this issue on pixel 5 with grapheneos. It could have something to do with memory tagging feature on newer pixels with grapheneos but that's just me guessing. I will disable it for the mullvad app and test if it makes any difference.

@gsture
Copy link
Author

gsture commented Jun 25, 2024

Thanks for the report, we'll look into this! We are aware of some strange behavior when running the app on GrapheneOS and/or Work Profiles but haven't been able to pinpoint the exact problem.

After disabling memory tagging (for mullvad vpn app only) I have not experienced this issue so far. I left it enabled on another pixel 8 and there the error did occur. So it might be worth looking into this.

It might be a coincidence so I will report back at the end of this week but I think the app might not work well with memory tagging enabled (might point to a memory bug) at the moment.

@gsture
Copy link
Author

gsture commented Jul 3, 2024

Ok so after switching back and forth between memory tagging on and memory tagging off for the last 3 weeks I can almost confidently say that the problem might point to a memory bug. The app functions fine with memory tagging disabled. And when enabled I get random disconnects.

Let me know if you need anything else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android Issues related to Android bug
Projects
None yet
Development

No branches or pull requests

4 participants