Wireguard errors (inconsistent)

Support requests about VPN Client Pro
Post Reply
yochaigal
Posts: 13
Joined: Tue Mar 12, 2019 11:25 pm

Wireguard errors (inconsistent)

Post by yochaigal »

Hello!

I've been using VPN Client for years with OpenVPN on my Pixel 7. Recently I switched over to Wireguard (connecting to a Ubiquiti UXG Lite firewall). It works just fine most of the time, but I experience the following behavior at random times:
  • I'm at home, using home wifi (no VPN is in use)
  • I go somewhere else (VPN connects to mobile network, works fine)
  • I arrive at my destination (VPN disconnects from mobile network, VPN connects to wifi, stops working)
  • I turn VPN off and on again (VPN works)
This happens at many different places, and I think even happens on mobile occasionally. The Log shows "write link error: Network is unreachable" over and over again until I turn the VPN off.

This never happened using my OpenVPN connection! Unfortunately it is unpredictable; I can't quite figure out what situation is triggering this behavior.

Here is my log:

Code: Select all

2025-01-22 15:58:04 VpnClientPro-google-api27-release-1.01.97 (30010197)
2025-01-22 15:58:04 Connecting request by auto connect (Mobile)
2025-01-22 15:58:07 OpenSSL 3.0.15 3 Sep 2024
2025-01-22 15:58:07 Add peer[MY IP]:51821
2025-01-22 15:58:07   -> 192.168.3.1/32
2025-01-22 15:58:07   -> 192.168.3.2/32
2025-01-22 15:58:07 Exclude nic wlan1 local subnet 10.42.1.0/24
2025-01-22 15:58:07 WARNING: nic v4-rmnet16 subnet 192.0.0.4/32 is not excluded because is not in RFC-1918
2025-01-22 15:58:07   -> 0.0.0.0/0
2025-01-22 15:58:07 Add peer [MY IP]:51821
2025-01-22 15:58:07   -> 192.168.3.1/32
2025-01-22 15:58:07   -> 192.168.3.2/32
2025-01-22 15:58:07   -> 0.0.0.0/0
2025-01-22 15:58:08 Send handshake (1) to [MY IP]
2025-01-22 15:58:08 Handshake with [MY IP] completed
2025-01-22 15:58:08 Connected
2025-01-22 16:04:42 Connectivity change detected: WiFi - RVCGuest
2025-01-22 16:04:42 write link error: Network is unreachable
2025-01-22 16:04:42 write link error: Network is unreachable
2025-01-22 16:04:47 write link error: Network is unreachable
2025-01-22 16:04:47 write link error: Network is unreachable
2025-01-22 16:04:47 write link error: Network is unreachable
2025-01-22 16:04:47 write link error: Network is unreachable
2025-01-22 16:04:47 write link error: Network is unreachable
2025-01-22 16:04:49 write link error: Network is unreachable
And here are the server logs:

Code: Select all

2025-01-22T13:51:52-05:00 UXGLite ubios-udapi-server[1743]: signal-out-notifier: Sending to mcad: EVT_VPN_ClientDisconnected Io/F9pbqFd13dzyKjn5Lo+TvE7KFCse5UuXdjCvxczQ= 172.59.138.171:48735 (via wgsrv1 192.168.3.2/32) on /vp
n/wireguard/servers/1
2025-01-22T13:55:53-05:00 UXGLite ubios-udapi-server[1743]: wan-failover-monitor-icmp: Failed to read monitor status from /run/eth1-mon6-142.250.65.238-google.com.sock: Timed out.
2025-01-22T13:55:53-05:00 UXGLite ubios-udapi-server[1743]: wan-failover-monitor-icmp: wf-monitor-eth1-6-icmp (76.28.30.144->142.250.65.238) could not read status from '/run/eth1-mon6-142.250.65.238-google.com.sock'. Received
 data: 'eth1-mon6-142.250.65.238-googl'
2025-01-22T14:54:07-05:00 UXGLite ubios-udapi-server[1743]: wan-failover-monitor-icmp: Failed to read monitor status from /run/eth1-mon2-8.8.8.8-ping.ui.com.sock: Timed out.
2025-01-22T15:58:07-05:00 UXGLite ubios-udapi-server[1743]: wireguard: Server Wireguard Peer (#1) has got peer Io/F9pbqFd13dzyKjn5Lo+TvE7KFCse5UuXdjCvxczQ= 172.56.195.179:14729 (via wgsrv1 192.168.3.2/32) (Pixel-7) connected
2025-01-22T15:58:07-05:00 UXGLite ubios-udapi-server[1743]: signal-out-notifier: Sending to mcad: EVT_VPN_ClientConnected Io/F9pbqFd13dzyKjn5Lo+TvE7KFCse5UuXdjCvxczQ= 172.56.195.179:14729 (via wgsrv1 192.168.3.2/32) on /vpn/w
ireguard/servers/1
2025-01-22T16:05:30-05:00 UXGLite ubios-udapi-server[1743]: wireguard: Server Wireguard Peer (#1) has got peer Io/F9pbqFd13dzyKjn5Lo+TvE7KFCse5UuXdjCvxczQ= 172.56.195.179:14729 (via wgsrv1 192.168.3.2/32) (Pixel-7) disconnect
ed
2025-01-22T16:05:30-05:00 UXGLite ubios-udapi-server[1743]: signal-out-notifier: Sending to mcad: EVT_VPN_ClientDisconnected Io/F9pbqFd13dzyKjn5Lo+TvE7KFCse5UuXdjCvxczQ= 172.56.195.179:14729 (via wgsrv1 192.168.3.2/32) on /vp
n/wireguard/servers/1
2025-01-22T16:05:49-05:00 UXGLite ubios-udapi-server[1743]: wireguard: Server Wireguard Peer (#1) has got peer Io/F9pbqFd13dzyKjn5Lo+TvE7KFCse5UuXdjCvxczQ= 172.56.195.179:14729 (via wgsrv1 192.168.3.2/32) (Pixel-7) connected
2025-01-22T16:05:49-05:00 UXGLite ubios-udapi-server[1743]: signal-out-notifier: Sending to mcad: EVT_VPN_ClientConnected Io/F9pbqFd13dzyKjn5Lo+TvE7KFCse5UuXdjCvxczQ= 172.56.195.179:14729 (via wgsrv1 192.168.3.2/32) on /vpn/w
ireguard/servers/1
2025-01-22T16:47:22-05:00 UXGLite ubios-udapi-server[1743]: wireguard: Server Wireguard Peer (#1) has got peer Io/F9pbqFd13dzyKjn5Lo+TvE7KFCse5UuXdjCvxczQ= 172.58.244.161:58755 (via wgsrv1 192.168.3.2/32) (Pixel-7) disconnect
ed
And here are my settings!
Unfortunately the

Thanks for any help you might offer.
admin
Site Admin
Posts: 741
Joined: Fri Feb 15, 2019 4:04 pm
Contact:

Re: Wireguard errors (inconsistent)

Post by admin »

Hello,

please try to follow these steps:
  • start the app
  • tap on top left icon
  • tap on "Global options"
  • tap on "VPN options"
  • select "Restart WireGuard connection when connectivity change"
  • save the changes
  • restart the VPN
yochaigal
Posts: 13
Joined: Tue Mar 12, 2019 11:25 pm

Re: Wireguard errors (inconsistent)

Post by yochaigal »

I will try that and get back to you. Thanks!
Post Reply