Android When using Tailscale VPN, app displays no internet. #517

Closed
opened 2026-04-24 23:27:11 +02:00 by adam · 5 comments
Owner

Originally created by @OpnSrcConstruction on GitHub (Apr 7, 2023).

Steps to reproduce

  1. Start Talescale
  2. Open App.
  3. tap on connect
  4. Final screen says No Internet

Expected behaviour

I Tested expected behavior, by turning off my Tailscale NT, adding a local address, U/n & p/w and it seams to work as expected.

** Side-note. 99.999% of the time T.S. does NOT stop normal internet traffic, but let's me get into my local machines for free. **

Actual behaviour

The connect settings screen, where a user would normally add credentials is NOT selectable to edit the address;
unless I turn off T.S. Saying "No Internet".

Environment data

Audiobookshelf Version:
Android App: 0.9.3-63-beta

Android Issue

Android version:
8.0.0

Device model:
Samsung Galaxy S7

Stock or customized system:
Stock/non-rooted

** I am going to test this behavior on a few other Android devices around the house, later and report any differences or similarities. **

Originally created by @OpnSrcConstruction on GitHub (Apr 7, 2023). ### Steps to reproduce 1. Start Talescale 2. Open App. 3. tap on connect 4. Final screen says No Internet ### Expected behaviour I Tested expected behavior, by turning off my Tailscale NT, adding a local address, U/n & p/w and it seams to work as expected. ** Side-note. 99.999% of the time T.S. does NOT stop normal internet traffic, but let's me get into my local machines for free. ** ### Actual behaviour The connect settings screen, where a user would normally add credentials is NOT selectable to edit the address; unless I turn off T.S. Saying "No Internet". ### Environment data Audiobookshelf Version: Android App: 0.9.3-63-beta #### Android Issue Android version: 8.0.0 Device model: Samsung Galaxy S7 Stock or customized system: Stock/non-rooted ** I am going to test this behavior on a few other Android devices around the house, later and report any differences or similarities. **
adam added the bug label 2026-04-24 23:27:11 +02:00
adam closed this issue 2026-04-24 23:27:12 +02:00
Author
Owner

@OpnSrcConstruction commented on GitHub (Apr 7, 2023):

I tested the app on a few Other devices I have access to. I was surprised to see a Lenovo 14e gen. 2 chromebook all worked as expected. The Samsung galaxy Tab A(wifi-only) worked well as well. Also a pair of Newer phones worked as well; although they had their own data connection. My s7 and a spare s7 around the house, that ONLY use wifi are the only mobile devices in the house that the connection address couldn't be added.

@OpnSrcConstruction commented on GitHub (Apr 7, 2023): I tested the app on a few Other devices I have access to. I was surprised to see a Lenovo 14e gen. 2 chromebook all worked as expected. The Samsung galaxy Tab A(wifi-only) worked well as well. Also a pair of Newer phones worked as well; although they had their own data connection. My s7 and a spare s7 around the house, that ONLY use wifi are the only mobile devices in the house that the connection address couldn't be added.
Author
Owner

@advplyr commented on GitHub (Apr 7, 2023):

Is this a duplicate of #566?

@advplyr commented on GitHub (Apr 7, 2023): Is this a duplicate of #566?
Author
Owner

@advplyr commented on GitHub (May 20, 2023):

Duplicate of #566

@advplyr commented on GitHub (May 20, 2023): Duplicate of #566
Author
Owner

@pssandhu commented on GitHub (Jul 10, 2023):

I had a quick look at this issue and from my basic understanding of the code, it seems that the capacitor network plugin sees the vpn connection as the active network and correctly identifies that it doesnt provide general internet access. However, it doesnt then check other connections for internet access.

I'm assuming this is the relevant code but please correct me if i'm wrong.
https://github.com/ionic-team/capacitor-plugins/blob/798f788452f1f21e868cbab32743db3875d930e9/network/android/src/main/java/com/capacitorjs/plugins/network/Network.java#L91

Some useful info: https://developer.android.com/reference/android/net/NetworkCapabilities

I don't really have a way to test/debug this theory so some help would be appreciated and then maybe the bug can be filed upstream against the plugin

@pssandhu commented on GitHub (Jul 10, 2023): I had a quick look at this issue and from my basic understanding of the code, it seems that the capacitor network plugin sees the vpn connection as the active network and correctly identifies that it doesnt provide general internet access. However, it doesnt then check other connections for internet access. I'm assuming this is the relevant code but please correct me if i'm wrong. https://github.com/ionic-team/capacitor-plugins/blob/798f788452f1f21e868cbab32743db3875d930e9/network/android/src/main/java/com/capacitorjs/plugins/network/Network.java#L91 Some useful info: https://developer.android.com/reference/android/net/NetworkCapabilities I don't really have a way to test/debug this theory so some help would be appreciated and then maybe the bug can be filed upstream against the plugin
Author
Owner

@advplyr commented on GitHub (Jul 10, 2023):

@pssandhu Yeah this is correct. I'm not sure this is a bug with the plugin. The main thread for this issue is #566

@advplyr commented on GitHub (Jul 10, 2023): @pssandhu Yeah this is correct. I'm not sure this is a bug with the plugin. The main thread for this issue is #566
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf-app#517