this post was submitted on 17 Jan 2024
49 points (94.5% liked)

Android

27951 readers
210 users here now

DROID DOES

Welcome to the droidymcdroidface-iest, Lemmyest (Lemmiest), test, bestest, phoniest, pluckiest, snarkiest, and spiciest Android community on Lemmy (Do not respond)! Here you can participate in amazing discussions and events relating to all things Android.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules


1. All posts must be relevant to Android devices/operating system.


2. Posts cannot be illegal or NSFW material.


3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.


4. Non-whitelisted bots will be banned.


5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.


6. Memes are not allowed to be posts, but are allowed in the comments.


7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.


8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.


Community Resources:


We are Android girls*,

In our Lemmy.world.

The back is plastic,

It's fantastic.

*Well, not just girls: people of all gender identities are welcomed here.


Our Partner Communities:

!android@lemmy.ml


founded 1 year ago
MODERATORS
 

I use Tailscale as my VPN, and it's always just worked for me. But lately, it keeps hopping out. This is only an issue on my Android phone too. I have set Tailscale to be the 'always-on-vpn' in settings, but that doesn't change anything for me.

Anyone experience the same thing? Is there a know fix for this?

top 28 comments
sorted by: hot top controversial new old
[–] brokenlcd@feddit.it 17 points 10 months ago (1 children)

From the interface you should have android 12+, check if the app has the permission to run in the background, if that doesnt work it could be android's phantom process killing that stops it

[–] LunchEnjoyer@lemmy.world 5 points 10 months ago (3 children)

Yes, I am on Android 13. I believe I have given it all permissions too. Is there anything about the phantom thingy I can do to prevent it from doing this?

[–] MrNobody@sh.itjust.works 3 points 10 months ago

Is battery optimisation turned on for the app? For me with some apps if it is on it will run in the background but i guess pause it until I actually open the app again.

[–] brokenlcd@feddit.it 3 points 10 months ago* (last edited 10 months ago) (1 children)

If i remember correctly on android 13 you can go in developer settings-> feature flags and you should be able to disable it Otherwise you need to use adb to disable it, but i don't remember the entire process

[–] LunchEnjoyer@lemmy.world 4 points 10 months ago

Thanks - ill look into this! :)

[–] Hellmo_Luciferrari@lemm.ee 3 points 10 months ago (1 children)

Check battery optimization settings

[–] LunchEnjoyer@lemmy.world 3 points 10 months ago

Done that too, also set as unrestricted

[–] r2p2@lemmy.world 7 points 10 months ago (1 children)

My wireguard VPN drops if I use Firefox which seems to use way too much memory causing some apps to be killed.

[–] LunchEnjoyer@lemmy.world 3 points 10 months ago

Interesting, I'll see if it's the same cause for me

[–] Hiro8811@lemmy.world 6 points 10 months ago (1 children)

Most likely because of android battery saving. Check this site . I might be wrong but that looks like Lineage OS? Try disabling battery saving for that app in settings

[–] LunchEnjoyer@lemmy.world 3 points 10 months ago

Thanks for that website, although I have done all of it, that's very handy website 😊

[–] lefixxx@lemmy.world 5 points 10 months ago* (last edited 10 months ago) (1 children)

I use tailscale and every restart I see that notification and open the app and flip the switch.

Much better than in iOS would almost always be down.

Also, probably not important, have you toggled "pause app activity if unused" off?

[–] LunchEnjoyer@lemmy.world 3 points 10 months ago

Jupp have done :P

[–] janNatan@lemmy.ml 5 points 10 months ago

Does the VPN have a persistent notification? If you disabled it that could be a problem. My VPN has a notification that is always on. Annoying for someone who always clears notifications, but I've gotten used to an it.

[–] Atemu@lemmy.ml 3 points 10 months ago* (last edited 10 months ago) (1 children)
[–] LunchEnjoyer@lemmy.world 2 points 10 months ago

Yeah thought about it, just wanted to make sure it wasn't just me, or anything I was wrong first. But if I can't find a fix I will post it as an issue.

[–] jaschen@lemmynsfw.com 3 points 10 months ago

This happens every time I reset my Fold 5 on Android 14 and randomly in the past.

What I do now is to set a "Routine" to start the application each time I plug in my phone into a power plug and I check it each time I plug it in.

Not exactly a solution but at least I haven't had a problem since.

[–] RichRatsch@lemmy.world 3 points 10 months ago

"Disconnected from sometimes-off VPN"

[–] venoft@lemmy.world 2 points 10 months ago

I also have this, once per day or so I get the notification and have to enable the connection again. It's only since I updated to Android 14. Don't know why, probably some battery optimization.

[–] MadBob@feddit.nl 2 points 10 months ago

My VPN has an option to keep a notification always active in order to stop it disconnecting, and it seems to work. Don't know if that helps? Yours might have a similar option?

[–] henfredemars@infosec.pub 1 points 10 months ago

You said this used to work before. Are you using it from a new location compared to before? Has there been any change in the network path?

[–] Shurimal@kbin.social 1 points 10 months ago (1 children)

Do you have the Tailscale's "Magic DNS" enabled? I had problems with Tailscale on Android, too, and disabling their DNS solved it.

[–] LunchEnjoyer@lemmy.world 1 points 10 months ago* (last edited 10 months ago)

Hmm yeah I do, would like to have it enabled though as I do use it.. But can test this!

[–] crag@lemmy.dbzer0.com 1 points 9 months ago (1 children)
[–] LunchEnjoyer@lemmy.world 1 points 9 months ago

Sony Xperia 5 iii

[–] THE_ANON@lemmy.ml -5 points 10 months ago* (last edited 10 months ago) (1 children)

Try proton i used to get that problem with some other vpn's never used tailgate though if you can buy the premium version buy it's worth it.And check your settings for options like close apps not in use or background apps killers and turn em off.Though probably the vpn's issue though

[–] LunchEnjoyer@lemmy.world 3 points 10 months ago (1 children)

Two different use cases.

Although I have Proton Premium, its for another use case. Tailscale is for accessing my other devices.

[–] THE_ANON@lemmy.ml 1 points 10 months ago

Ok then try it in this device to see if the problem is with the vpn or your device