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?

  • brokenlcdEnglish
    arrow-up
    17
    arrow-down
    0
    ·
    9 months ago
    link
    fedilink

    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

      • MrNobodyEnglish
        arrow-up
        3
        arrow-down
        0
        ·
        9 months ago
        link
        fedilink

        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.

        • LunchOPEnglish
          arrow-up
          3
          arrow-down
          0
          ·
          9 months ago
          link
          fedilink

          Done that too, also set as unrestricted

      • brokenlcdEnglish
        arrow-up
        3
        arrow-down
        0
        ·
        9 months ago
        edit-2
        9 months ago
        link
        fedilink

        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

        • LunchOPEnglish
          arrow-up
          4
          arrow-down
          0
          ·
          9 months ago
          link
          fedilink

          Thanks - ill look into this! :)

  • r2p2English
    arrow-up
    7
    arrow-down
    0
    ·
    9 months ago
    link
    fedilink

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

    • LunchOPEnglish
      arrow-up
      3
      arrow-down
      0
      ·
      9 months ago
      link
      fedilink

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

  • Hiro8811English
    arrow-up
    6
    arrow-down
    0
    ·
    9 months ago
    link
    fedilink

    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

    • LunchOPEnglish
      arrow-up
      3
      arrow-down
      0
      ·
      9 months ago
      link
      fedilink

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

  • janNatanEnglish
    arrow-up
    5
    arrow-down
    0
    ·
    9 months ago
    link
    fedilink

    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.

  • lefixxxEnglish
    arrow-up
    5
    arrow-down
    0
    ·
    9 months ago
    edit-2
    9 months ago
    link
    fedilink

    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?

    • LunchOPEnglish
      arrow-up
      3
      arrow-down
      0
      ·
      9 months ago
      link
      fedilink

      Jupp have done :P

  • jaschenEnglish
    arrow-up
    3
    arrow-down
    0
    ·
    9 months ago
    link
    fedilink

    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.

  • RichRatschEnglish
    arrow-up
    3
    arrow-down
    0
    ·
    9 months ago
    link
    fedilink

    “Disconnected from sometimes-off VPN

    • LunchOPEnglish
      arrow-up
      2
      arrow-down
      0
      ·
      9 months ago
      link
      fedilink

      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.

  • BobEnglish
    arrow-up
    2
    arrow-down
    0
    ·
    9 months ago
    link
    fedilink

    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?

  • MuchPineapplesEnglish
    arrow-up
    2
    arrow-down
    0
    ·
    9 months ago
    link
    fedilink

    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.

  • Shurimal
    arrow-up
    1
    arrow-down
    0
    ·
    9 months ago
    link
    fedilink

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

    • LunchOPEnglish
      arrow-up
      1
      arrow-down
      0
      ·
      9 months ago
      edit-2
      9 months ago
      link
      fedilink

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

  • cragEnglish
    arrow-up
    1
    arrow-down
    0
    ·
    9 months ago
    link
    fedilink

    What phone are you using?

    • LunchOPEnglish
      arrow-up
      1
      arrow-down
      0
      ·
      9 months ago
      link
      fedilink

      Sony Xperia 5 iii

  • henfredemarsEnglish
    arrow-up
    1
    arrow-down
    0
    ·
    9 months ago
    link
    fedilink

    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?

  • ANONEnglish
    arrow-up
    1
    arrow-down
    6
    ·
    9 months ago
    edit-2
    9 months ago
    link
    fedilink

    Removed by mod

    • LunchOPEnglish
      arrow-up
      3
      arrow-down
      0
      ·
      9 months ago
      link
      fedilink

      Two different use cases.

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

      • ANONEnglish
        arrow-up
        1
        arrow-down
        0
        ·
        9 months ago
        edit-2
        9 months ago
        link
        fedilink

        Removed by mod