wgtunnel: [BUG] - App says VPN is connected but isn't connected
Describe the bug I have configured the app to automatically connect VPN when in mobile data then defined my default VPN connection. In Android Settings I have configured your app VPN to stay always on and do not block not VPN connections.
Sometimes the app says the VPN is connected but not really connected.
When this occurs, the only way to solve the issue is:
- Enter the app
- Stop auto-tunneling (At tunnels tab, when I try to disconnect from the connected VPN (that really isn’t connected) via clicking the checkbox, the checkbox remains checked even if I click on it multiple times)
- Exit the app
- Go to recents then remove the app from recents
- Enter the app then start auto-tunneling
Smartphone (please complete the following information):
- Device: Pixel 7 Pro
- Android Version: Android 14, GrapheneOS
- App Version 3.3.9
To Reproduce The issue occurs 1-2 times per week but I can’t reproduce.
Expected behavior The app do not says connected to the VPN when isn’t connected.
Screenshots (Only if necessary)
App log:
2024-03-27T08:02:11.853441Z 0 0 VERBOSE System message= --------- beginning of main
2024-03-27T08:02:11.000000666Z 13932 13932 DEBUG AppCompatDelegate: message= Checking for metadata for AppLocalesMetadataHolderService : Service not found
2024-03-27T08:02:11.000000829Z 13932 13932 DEBUG CompatibilityChangeReporter: message= Compat change id reported: 171228096; UID 1010162; state: ENABLED
2024-03-27T08:02:12.000000089Z 13932 20535 DEBUG TrafficStats: message= tagSocket(66) with statsTag=0xffffffff, statsUid=-1
2024-03-27T08:02:17.000000216Z 13932 20535 DEBUG TrafficStats: message= tagSocket(66) with statsTag=0xffffffff, statsUid=-1
2024-03-27T08:02:51.000000641Z 13932 14105 WARNING com.zaneschepke.wireguardautotunnel: message= Reducing the number of considered missed Gc histogram windows from 184 to 100
2024-03-27T08:03:17.000000261Z 13932 20535 DEBUG TrafficStats: message= tagSocket(106) with statsTag=0xffffffff, statsUid=-1
2024-03-27T08:03:22.000000370Z 13932 20535 DEBUG TrafficStats: message= tagSocket(106) with statsTag=0xffffffff, statsUid=-1
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 2
- Comments: 15
Issue still occurs even if “vpn always-on” is disabled.
Issue still occurs if always-on is active (even if lock no vpn connections is not checked)
@zaneschepke I noticed that this occurs with the always-on VPN. If you connect to a VPN, then disable wifi/mobile data, WG Tunnel will still say it is connected, even though the logs say otherwise.
I think the latest release should fix this issue. If not, we can reopen.
This log is very helpful. I’ll try to replicate this when I have some free time.
A more large log…
Please email them to me. 😃
Yes, read the logs, and then you can save them to a file to share with the save button.