binhex / arch-qbittorrentvpn

Docker build script for Arch Linux base with qBittorrent, Privoxy and OpenVPN
GNU General Public License v3.0
428 stars 47 forks source link

VPN exits after period of no internet #262

Open TheColorman opened 1 month ago

TheColorman commented 1 month ago

If the server looses internet connectivity, the script is unable to connect to the VPN provider and starts retrying every 10 seconds. After a number of attempts, it gives up and exits.

I have a server located in a place that loses internet intermittently, for up so several hours at a time. Since the script permanently exits, every period of missing internet requires the container is manually restarted for the VPN to re-connect and the network interface to re-appear.

I'd prefer the script go into an "internet check mode", where internet connectivity is regularly checked, and the connection re-established once internet connectivity is restored, as having to constantly restart the container manually defeats the purpose of using containerization in the first place, in my opinion 😅.

My bad, turns out it does actually do this, but there's a different issue.

binhex commented 1 month ago

If the server looses internet connectivity, the script is unable to connect to the VPN provider and starts retrying every 10 seconds. After a number of attempts, it gives up and exits.

Can you please paste the log showing this, preferably with DEBUG set to 'true'.

TheColorman commented 1 month ago

Since I'm away from the server I'm waiting for it to happen again naturally, but I've enabled DEBUG in the meantime

TheColorman commented 1 month ago

Here are the logs, seems like an unexpected process exit at 2024-07-23T02:23:58:

Click to expand logs ```log * normal operation above * 2024-07-23T02:12:56.859877672Z 2024-07-23 00:12:56,859 DEBG 'watchdog-script' stdout output: 2024-07-23T02:12:56.859927240Z [debug] Checking we can resolve name 'www.google.com' to address... 2024-07-23T02:12:56.859940210Z 2024-07-23T02:13:41.984265161Z 2024-07-23 00:13:41,984 DEBG 'watchdog-script' stdout output: 2024-07-23T02:13:41.984403645Z [debug] DNS operational, we can resolve name 'www.google.com' to address '142.250.147.147 142.250.147.104 142.250.147.105 142.250.147.103 142.250.147.106 142.250.147.99' 2024-07-23T02:13:41.984419073Z 2024-07-23T02:13:41.984653539Z 2024-07-23 00:13:41,984 DEBG 'watchdog-script' stdout output: 2024-07-23T02:13:41.984685961Z [debug] Waiting for iptables chain policies to be in place... 2024-07-23T02:13:41.984700104Z 2024-07-23T02:13:41.996386245Z 2024-07-23 00:13:41,996 DEBG 'watchdog-script' stdout output: 2024-07-23T02:13:41.996428884Z [debug] iptables chain policies are in place 2024-07-23T02:13:41.996441448Z 2024-07-23T02:13:42.010550981Z 2024-07-23 00:13:42,010 DEBG 'watchdog-script' stdout output: 2024-07-23T02:13:42.010585757Z [debug] VPN incoming port is 38759 2024-07-23T02:13:42.010597835Z [debug] qBittorrent incoming port is 38759 2024-07-23T02:13:42.010608428Z [debug] VPN IP is 10.23.160.107 2024-07-23T02:13:42.010618453Z [debug] qBittorrent IP is 10.23.160.107 2024-07-23T02:13:42.010627916Z 2024-07-23T02:14:12.014678238Z 2024-07-23 00:14:12,014 DEBG 'watchdog-script' stdout output: 2024-07-23T02:14:12.014931992Z [debug] Checking we can resolve name 'www.google.com' to address... 2024-07-23T02:14:12.014949462Z 2024-07-23T02:14:12.037207896Z 2024-07-23 00:14:12,037 DEBG 'watchdog-script' stdout output: 2024-07-23T02:14:12.037240686Z [debug] DNS operational, we can resolve name 'www.google.com' to address '142.250.147.147 142.250.147.106 142.250.147.105 142.250.147.104 142.250.147.103 142.250.147.99' 2024-07-23T02:14:12.037251763Z 2024-07-23T02:14:12.037555561Z 2024-07-23 00:14:12,037 DEBG 'watchdog-script' stdout output: 2024-07-23T02:14:12.037589220Z [debug] Waiting for iptables chain policies to be in place... 2024-07-23T02:14:12.037601664Z 2024-07-23T02:14:12.049604559Z 2024-07-23 00:14:12,049 DEBG 'watchdog-script' stdout output: 2024-07-23T02:14:12.049651905Z [debug] iptables chain policies are in place 2024-07-23T02:14:12.049667864Z 2024-07-23T02:14:12.061067162Z 2024-07-23 00:14:12,060 DEBG 'watchdog-script' stdout output: 2024-07-23T02:14:12.061110740Z [debug] VPN incoming port is 38759 2024-07-23T02:14:12.061122255Z [debug] qBittorrent incoming port is 38759 2024-07-23T02:14:12.061133227Z [debug] VPN IP is 10.23.160.107 2024-07-23T02:14:12.061145217Z [debug] qBittorrent IP is 10.23.160.107 2024-07-23T02:14:12.061155325Z 2024-07-23T02:14:42.064718177Z 2024-07-23 00:14:42,064 DEBG 'watchdog-script' stdout output: 2024-07-23T02:14:42.064770569Z [debug] Checking we can resolve name 'www.google.com' to address... 2024-07-23T02:14:42.064784151Z 2024-07-23T02:16:12.146818603Z 2024-07-23 00:16:12,146 DEBG 'watchdog-script' stdout output: 2024-07-23T02:16:12.146872083Z [debug] Having issues resolving name 'www.google.com' 2024-07-23T02:16:12.146886226Z [debug] Retrying in 5 secs... 2024-07-23T02:16:12.146896790Z [debug] 11 retries left 2024-07-23T02:16:12.146906268Z 2024-07-23T02:17:47.228534053Z 2024-07-23 00:17:47,228 DEBG 'watchdog-script' stdout output: 2024-07-23T02:17:47.228587119Z [debug] Having issues resolving name 'www.google.com' 2024-07-23T02:17:47.228599912Z [debug] Retrying in 5 secs... 2024-07-23T02:17:47.228610096Z [debug] 10 retries left 2024-07-23T02:17:47.228619393Z 2024-07-23T02:18:34.593477202Z 2024-07-23 00:18:34,593 DEBG 'start-script' stdout output: 2024-07-23T02:18:34.593532684Z [warn] Unable to bind port using URL 'https://10.23.128.1:19999/bindPort' 2024-07-23T02:18:34.593546884Z [info] 11 retries left 2024-07-23T02:18:34.593557058Z [info] Retrying in 10 secs... 2024-07-23T02:18:34.593566856Z 2024-07-23T02:18:49.607470709Z 2024-07-23 00:18:49,607 DEBG 'start-script' stdout output: 2024-07-23T02:18:49.607524412Z [warn] Unable to bind port using URL 'https://10.23.128.1:19999/bindPort' 2024-07-23T02:18:49.607628138Z [info] 10 retries left 2024-07-23T02:18:49.607639842Z [info] Retrying in 10 secs... 2024-07-23T02:18:49.607649494Z 2024-07-23T02:19:04.620878426Z 2024-07-23 00:19:04,620 DEBG 'start-script' stdout output: 2024-07-23T02:19:04.620932048Z [warn] Unable to bind port using URL 'https://10.23.128.1:19999/bindPort' 2024-07-23T02:19:04.620946957Z [info] 9 retries left 2024-07-23T02:19:04.620957821Z [info] Retrying in 10 secs... 2024-07-23T02:19:04.620967466Z 2024-07-23T02:19:19.635175039Z 2024-07-23 00:19:19,634 DEBG 'start-script' stdout output: 2024-07-23T02:19:19.635234928Z [warn] Unable to bind port using URL 'https://10.23.128.1:19999/bindPort' 2024-07-23T02:19:19.635249183Z [info] 8 retries left 2024-07-23T02:19:19.635260969Z [info] Retrying in 10 secs... 2024-07-23T02:19:19.635270802Z 2024-07-23T02:19:22.304521563Z 2024-07-23 00:19:22,304 DEBG 'watchdog-script' stdout output: 2024-07-23T02:19:22.304565828Z [debug] Having issues resolving name 'www.google.com' 2024-07-23T02:19:22.304578473Z [debug] Retrying in 5 secs... 2024-07-23T02:19:22.304589629Z [debug] 9 retries left 2024-07-23T02:19:22.304599299Z 2024-07-23T02:19:34.648275922Z 2024-07-23 00:19:34,648 DEBG 'start-script' stdout output: 2024-07-23T02:19:34.648331135Z [warn] Unable to bind port using URL 'https://10.23.128.1:19999/bindPort' 2024-07-23T02:19:34.648344060Z [info] 7 retries left 2024-07-23T02:19:34.648354540Z [info] Retrying in 10 secs... 2024-07-23T02:19:34.648364489Z 2024-07-23T02:19:49.662142840Z 2024-07-23 00:19:49,661 DEBG 'start-script' stdout output: 2024-07-23T02:19:49.662192012Z [warn] Unable to bind port using URL 'https://10.23.128.1:19999/bindPort' 2024-07-23T02:19:49.662204995Z [info] 6 retries left 2024-07-23T02:19:49.662216149Z [info] Retrying in 10 secs... 2024-07-23T02:19:49.662225940Z 2024-07-23T02:20:04.675433035Z 2024-07-23 00:20:04,675 DEBG 'start-script' stdout output: 2024-07-23T02:20:04.675489825Z [warn] Unable to bind port using URL 'https://10.23.128.1:19999/bindPort' 2024-07-23T02:20:04.675504940Z [info] 5 retries left 2024-07-23T02:20:04.675517454Z [info] Retrying in 10 secs... 2024-07-23T02:20:04.675527399Z 2024-07-23T02:20:19.689715307Z 2024-07-23 00:20:19,689 DEBG 'start-script' stdout output: 2024-07-23T02:20:19.689768435Z [warn] Unable to bind port using URL 'https://10.23.128.1:19999/bindPort' 2024-07-23T02:20:19.689782772Z [info] 4 retries left 2024-07-23T02:20:19.689792761Z [info] Retrying in 10 secs... 2024-07-23T02:20:19.689801993Z 2024-07-23T02:20:34.702935731Z 2024-07-23 00:20:34,702 DEBG 'start-script' stdout output: 2024-07-23T02:20:34.702995162Z [warn] Unable to bind port using URL 'https://10.23.128.1:19999/bindPort' 2024-07-23T02:20:34.703009561Z [info] 3 retries left 2024-07-23T02:20:34.703021316Z [info] Retrying in 10 secs... 2024-07-23T02:20:34.703031244Z 2024-07-23T02:20:49.717039725Z 2024-07-23 00:20:49,716 DEBG 'start-script' stdout output: 2024-07-23T02:20:49.717093968Z [warn] Unable to bind port using URL 'https://10.23.128.1:19999/bindPort' 2024-07-23T02:20:49.717108465Z 2024-07-23T02:20:49.717168446Z 2024-07-23 00:20:49,717 DEBG 'start-script' stdout output: 2024-07-23T02:20:49.717196447Z [info] 2 retries left 2024-07-23T02:20:49.717208927Z [info] Retrying in 10 secs... 2024-07-23T02:20:49.717218765Z 2024-07-23T02:20:57.382610204Z 2024-07-23 00:20:57,382 DEBG 'watchdog-script' stdout output: 2024-07-23T02:20:57.382665470Z [debug] Having issues resolving name 'www.google.com' 2024-07-23T02:20:57.382679869Z [debug] Retrying in 5 secs... 2024-07-23T02:20:57.382691536Z [debug] 8 retries left 2024-07-23T02:20:57.382701342Z 2024-07-23T02:21:04.730827262Z 2024-07-23 00:21:04,730 DEBG 'start-script' stdout output: 2024-07-23T02:21:04.730884893Z [warn] Unable to bind port using URL 'https://10.23.128.1:19999/bindPort' 2024-07-23T02:21:04.730899013Z [info] 1 retries left 2024-07-23T02:21:04.730911556Z [info] Retrying in 10 secs... 2024-07-23T02:21:04.730921153Z 2024-07-23T02:21:19.744102790Z 2024-07-23 00:21:19,743 DEBG 'start-script' stdout output: 2024-07-23T02:21:19.744162787Z [warn] Unable to bind port using URL 'https://10.23.128.1:19999/bindPort' 2024-07-23T02:21:19.744177201Z [info] 0 retries left 2024-07-23T02:21:19.744189267Z [info] Retrying in 10 secs... 2024-07-23T02:21:19.744199676Z 2024-07-23T02:21:29.745574321Z 2024-07-23 00:21:29,745 DEBG 'start-script' stdout output: 2024-07-23T02:21:29.745634198Z [warn] Unable to bind incoming port '38759', creating file '/tmp/portfailure' to indicate failure... 2024-07-23T02:21:29.745648227Z 2024-07-23T02:21:29.757289708Z 2024-07-23 00:21:29,756 DEBG 'start-script' stdout output: 2024-07-23T02:21:29.757333555Z [info] Script finished to assign incoming port 2024-07-23T02:21:29.757345566Z 2024-07-23T02:21:57.806971712Z 2024-07-23 00:21:57,806 DEBG 'start-script' stdout output: 2024-07-23T02:21:57.807020088Z [info] Sending 'down' command to WireGuard due to incoming port allocation failure... 2024-07-23T02:21:57.807032574Z 2024-07-23T02:21:57.828224734Z 2024-07-23 00:21:57,828 DEBG 'start-script' stdout output: 2024-07-23T02:21:57.828261466Z [info] Attempting to bring WireGuard interface 'down'... 2024-07-23T02:21:57.828273517Z [debug] Running WireGuard kernel implementation... 2024-07-23T02:21:57.828284975Z 2024-07-23T02:21:57.842403053Z 2024-07-23 00:21:57,842 DEBG 'start-script' stderr output: 2024-07-23T02:21:57.842434395Z Warning: `/config/wireguard/wg0.conf' is world accessible 2024-07-23T02:21:57.842445478Z 2024-07-23T02:21:57.853934336Z 2024-07-23 00:21:57,853 DEBG 'start-script' stderr output: 2024-07-23T02:21:57.853977210Z [#] ip -4 rule delete table 51820 2024-07-23T02:21:57.853989340Z 2024-07-23T02:21:57.860244038Z 2024-07-23 00:21:57,860 DEBG 'start-script' stderr output: 2024-07-23T02:21:57.860283844Z [#] ip -4 rule delete table main suppress_prefixlength 0 2024-07-23T02:21:57.860296231Z 2024-07-23T02:21:57.868157050Z 2024-07-23 00:21:57,868 DEBG 'start-script' stderr output: 2024-07-23T02:21:57.868195363Z [#] ip link delete dev wg0 2024-07-23T02:21:57.868206880Z 2024-07-23T02:21:58.033924441Z 2024-07-23 00:21:58,033 DEBG 'start-script' stderr output: 2024-07-23T02:21:58.033956535Z [#] iptables-restore -n 2024-07-23T02:21:58.033967454Z 2024-07-23T02:21:58.037914571Z 2024-07-23 00:21:58,037 DEBG 'start-script' stderr output: 2024-07-23T02:21:58.037954706Z [#] '/root/wireguarddown.sh' 2024-07-23T02:21:58.037968095Z 2024-07-23T02:21:58.045359481Z 2024-07-23 00:21:58,045 DEBG 'start-script' stdout output: 2024-07-23T02:21:58.045401617Z [info] WireGuard interface 'down' 2024-07-23T02:21:58.045413981Z 2024-07-23T02:21:58.049729000Z 2024-07-23 00:21:58,049 DEBG 'start-script' stdout output: 2024-07-23T02:21:58.049767132Z [info] Configuring WireGuard... 2024-07-23T02:21:58.049779182Z 2024-07-23T02:21:58.106084649Z 2024-07-23 00:21:58,105 DEBG 'start-script' stdout output: 2024-07-23T02:21:58.106146219Z [warn] Unable to successfully download PIA json to generate token for wireguard from URL 'https://www.privateinternetaccess.com/gtoken/generateToken' 2024-07-23T02:21:58.106158509Z [info] 12 retries left 2024-07-23T02:21:58.106168417Z [info] Retrying in 10 secs... 2024-07-23T02:21:58.106177765Z 2024-07-23T02:22:02.440210912Z 2024-07-23 00:22:02,440 DEBG 'watchdog-script' stdout output: 2024-07-23T02:22:02.440252886Z [debug] Having issues resolving name 'www.google.com' 2024-07-23T02:22:02.440265410Z [debug] Retrying in 5 secs... 2024-07-23T02:22:02.440276178Z [debug] 7 retries left 2024-07-23T02:22:02.440285360Z 2024-07-23T02:22:07.441464479Z 2024-07-23 00:22:07,441 DEBG 'watchdog-script' stdout output: 2024-07-23T02:22:07.441517263Z [debug] Tunnel marked as down via file '/tmp/tunneldown', exiting function 'check_dns'... 2024-07-23T02:22:07.441530664Z 2024-07-23T02:22:07.441828474Z 2024-07-23 00:22:07,441 DEBG 'watchdog-script' stdout output: 2024-07-23T02:22:07.441861737Z [debug] Waiting for iptables chain policies to be in place... 2024-07-23T02:22:07.441873159Z 2024-07-23T02:22:07.451005792Z 2024-07-23 00:22:07,450 DEBG 'watchdog-script' stdout output: 2024-07-23T02:22:07.451048639Z [debug] iptables chain policies are in place 2024-07-23T02:22:07.451060856Z 2024-07-23T02:22:07.460804721Z 2024-07-23 00:22:07,460 DEBG 'watchdog-script' stdout output: 2024-07-23T02:22:07.460836801Z [debug] VPN incoming port is 38759 2024-07-23T02:22:07.460847645Z [debug] qBittorrent incoming port is 38759 2024-07-23T02:22:07.460857771Z [debug] VPN IP is 10.23.160.107 2024-07-23T02:22:07.460868488Z [debug] qBittorrent IP is 10.23.160.107 2024-07-23T02:22:07.460878529Z 2024-07-23T02:22:08.145048882Z 2024-07-23 00:22:08,144 DEBG 'start-script' stdout output: 2024-07-23T02:22:08.145090844Z [warn] Unable to successfully download PIA json to generate token for wireguard from URL 'https://www.privateinternetaccess.com/gtoken/generateToken' 2024-07-23T02:22:08.145104416Z [info] 11 retries left 2024-07-23T02:22:08.145114585Z [info] Retrying in 10 secs... 2024-07-23T02:22:08.145123782Z 2024-07-23T02:22:18.184895491Z 2024-07-23 00:22:18,184 DEBG 'start-script' stdout output: 2024-07-23T02:22:18.184951262Z [warn] Unable to successfully download PIA json to generate token for wireguard from URL 'https://www.privateinternetaccess.com/gtoken/generateToken' 2024-07-23T02:22:18.184964934Z [info] 10 retries left 2024-07-23T02:22:18.184976487Z [info] Retrying in 10 secs... 2024-07-23T02:22:18.184986342Z 2024-07-23T02:22:28.225703098Z 2024-07-23 00:22:28,225 DEBG 'start-script' stdout output: 2024-07-23T02:22:28.225746101Z [warn] Unable to successfully download PIA json to generate token for wireguard from URL 'https://www.privateinternetaccess.com/gtoken/generateToken' 2024-07-23T02:22:28.225758474Z [info] 9 retries left 2024-07-23T02:22:28.225769751Z [info] Retrying in 10 secs... 2024-07-23T02:22:28.225779696Z 2024-07-23T02:22:37.464342861Z 2024-07-23 00:22:37,464 DEBG 'watchdog-script' stdout output: 2024-07-23T02:22:37.464390941Z [debug] Checking we can resolve name 'www.google.com' to address... 2024-07-23T02:22:37.464404859Z [debug] Tunnel marked as down via file '/tmp/tunneldown', exiting function 'check_dns'... 2024-07-23T02:22:37.464414971Z 2024-07-23T02:22:37.464475286Z 2024-07-23 00:22:37,464 DEBG 'watchdog-script' stdout output: 2024-07-23T02:22:37.464503101Z [debug] Waiting for iptables chain policies to be in place... 2024-07-23T02:22:37.464515179Z 2024-07-23T02:22:37.473905478Z 2024-07-23 00:22:37,473 DEBG 'watchdog-script' stdout output: 2024-07-23T02:22:37.473943796Z [debug] iptables chain policies are in place 2024-07-23T02:22:37.473955745Z 2024-07-23T02:22:37.483542118Z 2024-07-23 00:22:37,483 DEBG 'watchdog-script' stdout output: 2024-07-23T02:22:37.483581645Z [debug] VPN incoming port is 38759 2024-07-23T02:22:37.483593006Z [debug] qBittorrent incoming port is 38759 2024-07-23T02:22:37.483604400Z [debug] VPN IP is 10.23.160.107 2024-07-23T02:22:37.483615248Z [debug] qBittorrent IP is 10.23.160.107 2024-07-23T02:22:37.483625542Z 2024-07-23T02:22:38.264176661Z 2024-07-23 00:22:38,264 DEBG 'start-script' stdout output: 2024-07-23T02:22:38.264209126Z [warn] Unable to successfully download PIA json to generate token for wireguard from URL 'https://www.privateinternetaccess.com/gtoken/generateToken' 2024-07-23T02:22:38.264221166Z [info] 8 retries left 2024-07-23T02:22:38.264231856Z [info] Retrying in 10 secs... 2024-07-23T02:22:38.264241837Z 2024-07-23T02:22:48.303013075Z 2024-07-23 00:22:48,302 DEBG 'start-script' stdout output: 2024-07-23T02:22:48.303056334Z [warn] Unable to successfully download PIA json to generate token for wireguard from URL 'https://www.privateinternetaccess.com/gtoken/generateToken' 2024-07-23T02:22:48.303068127Z [info] 7 retries left 2024-07-23T02:22:48.303078922Z [info] Retrying in 10 secs... 2024-07-23T02:22:48.303089643Z 2024-07-23T02:22:58.341497596Z 2024-07-23 00:22:58,341 DEBG 'start-script' stdout output: 2024-07-23T02:22:58.341551404Z [warn] Unable to successfully download PIA json to generate token for wireguard from URL 'https://www.privateinternetaccess.com/gtoken/generateToken' 2024-07-23T02:22:58.341565625Z [info] 6 retries left 2024-07-23T02:22:58.341575919Z [info] Retrying in 10 secs... 2024-07-23T02:22:58.341585304Z 2024-07-23T02:23:07.487230553Z 2024-07-23 00:23:07,487 DEBG 'watchdog-script' stdout output: 2024-07-23T02:23:07.487291769Z [debug] Checking we can resolve name 'www.google.com' to address... 2024-07-23T02:23:07.487306105Z [debug] Tunnel marked as down via file '/tmp/tunneldown', exiting function 'check_dns'... 2024-07-23T02:23:07.487317948Z 2024-07-23T02:23:07.487444303Z 2024-07-23 00:23:07,487 DEBG 'watchdog-script' stdout output: 2024-07-23T02:23:07.487467411Z [debug] Waiting for iptables chain policies to be in place... 2024-07-23T02:23:07.487478493Z 2024-07-23T02:23:07.496739944Z 2024-07-23 00:23:07,496 DEBG 'watchdog-script' stdout output: 2024-07-23T02:23:07.496771848Z [debug] iptables chain policies are in place 2024-07-23T02:23:07.496785705Z 2024-07-23T02:23:07.506269202Z 2024-07-23 00:23:07,506 DEBG 'watchdog-script' stdout output: 2024-07-23T02:23:07.506310325Z [debug] VPN incoming port is 38759 2024-07-23T02:23:07.506323180Z [debug] qBittorrent incoming port is 38759 2024-07-23T02:23:07.506335375Z [debug] VPN IP is 10.23.160.107 2024-07-23T02:23:07.506346034Z [debug] qBittorrent IP is 10.23.160.107 2024-07-23T02:23:07.506356016Z 2024-07-23T02:23:08.379513091Z 2024-07-23 00:23:08,379 DEBG 'start-script' stdout output: 2024-07-23T02:23:08.379544643Z [warn] Unable to successfully download PIA json to generate token for wireguard from URL 'https://www.privateinternetaccess.com/gtoken/generateToken' 2024-07-23T02:23:08.379556946Z [info] 5 retries left 2024-07-23T02:23:08.379567711Z [info] Retrying in 10 secs... 2024-07-23T02:23:08.379577434Z 2024-07-23T02:23:18.418705972Z 2024-07-23 00:23:18,418 DEBG 'start-script' stdout output: 2024-07-23T02:23:18.418762077Z [warn] Unable to successfully download PIA json to generate token for wireguard from URL 'https://www.privateinternetaccess.com/gtoken/generateToken' 2024-07-23T02:23:18.418776587Z [info] 4 retries left 2024-07-23T02:23:18.418788165Z [info] Retrying in 10 secs... 2024-07-23T02:23:18.418798150Z 2024-07-23T02:23:28.459999267Z 2024-07-23 00:23:28,459 DEBG 'start-script' stdout output: 2024-07-23T02:23:28.460059055Z [warn] Unable to successfully download PIA json to generate token for wireguard from URL 'https://www.privateinternetaccess.com/gtoken/generateToken' 2024-07-23T02:23:28.460073189Z [info] 3 retries left 2024-07-23T02:23:28.460084719Z [info] Retrying in 10 secs... 2024-07-23T02:23:28.460095307Z 2024-07-23T02:23:37.509796030Z 2024-07-23 00:23:37,509 DEBG 'watchdog-script' stdout output: 2024-07-23T02:23:37.509852990Z [debug] Checking we can resolve name 'www.google.com' to address... 2024-07-23T02:23:37.509868120Z [debug] Tunnel marked as down via file '/tmp/tunneldown', exiting function 'check_dns'... 2024-07-23T02:23:37.509880222Z 2024-07-23T02:23:37.509952162Z 2024-07-23 00:23:37,509 DEBG 'watchdog-script' stdout output: 2024-07-23T02:23:37.509980898Z [debug] Waiting for iptables chain policies to be in place... 2024-07-23T02:23:37.509992143Z 2024-07-23T02:23:37.519357792Z 2024-07-23 00:23:37,519 DEBG 'watchdog-script' stdout output: 2024-07-23T02:23:37.519400604Z [debug] iptables chain policies are in place 2024-07-23T02:23:37.519412942Z 2024-07-23T02:23:37.528960938Z 2024-07-23 00:23:37,528 DEBG 'watchdog-script' stdout output: 2024-07-23T02:23:37.528994578Z [debug] VPN incoming port is 38759 2024-07-23T02:23:37.529006339Z [debug] qBittorrent incoming port is 38759 2024-07-23T02:23:37.529018106Z [debug] VPN IP is 10.23.160.107 2024-07-23T02:23:37.529028742Z [debug] qBittorrent IP is 10.23.160.107 2024-07-23T02:23:37.529038497Z 2024-07-23T02:23:38.498398271Z 2024-07-23 00:23:38,498 DEBG 'start-script' stdout output: 2024-07-23T02:23:38.498441406Z [warn] Unable to successfully download PIA json to generate token for wireguard from URL 'https://www.privateinternetaccess.com/gtoken/generateToken' 2024-07-23T02:23:38.498453773Z [info] 2 retries left 2024-07-23T02:23:38.498464590Z [info] Retrying in 10 secs... 2024-07-23T02:23:38.498473977Z 2024-07-23T02:23:48.543147012Z 2024-07-23 00:23:48,542 DEBG 'start-script' stdout output: 2024-07-23T02:23:48.543220634Z [warn] Unable to successfully download PIA json to generate token for wireguard from URL 'https://www.privateinternetaccess.com/gtoken/generateToken' 2024-07-23T02:23:48.543234415Z [info] 1 retries left 2024-07-23T02:23:48.543245803Z [info] Retrying in 10 secs... 2024-07-23T02:23:48.543255995Z 2024-07-23T02:23:58.544402957Z 2024-07-23 00:23:58,544 DEBG 'start-script' stdout output: 2024-07-23T02:23:58.544460386Z [crit] Unable to successfully download PIA json to generate token for wireguard, exiting script... 2024-07-23T02:23:58.544474336Z 2024-07-23T02:23:58.555406136Z 2024-07-23 00:23:58,555 DEBG fd 8 closed, stopped monitoring (stdout)> 2024-07-23T02:23:58.555548064Z 2024-07-23 00:23:58,555 DEBG fd 10 closed, stopped monitoring (stderr)> 2024-07-23T02:23:58.555838597Z 2024-07-23 00:23:58,555 WARN exited: start-script (exit status 1; not expected) 2024-07-23T02:23:58.556446774Z 2024-07-23 00:23:58,556 DEBG received SIGCHLD indicating a child quit 2024-07-23T02:24:07.532508386Z 2024-07-23 00:24:07,532 DEBG 'watchdog-script' stdout output: 2024-07-23T02:24:07.532565112Z [debug] Checking we can resolve name 'www.google.com' to address... 2024-07-23T02:24:07.532580874Z [debug] Tunnel marked as down via file '/tmp/tunneldown', exiting function 'check_dns'... 2024-07-23T02:24:07.532591837Z 2024-07-23T02:24:07.532670161Z 2024-07-23 00:24:07,532 DEBG 'watchdog-script' stdout output: 2024-07-23T02:24:07.532689834Z [debug] Waiting for iptables chain policies to be in place... 2024-07-23T02:24:07.532701682Z 2024-07-23T02:24:07.542064798Z 2024-07-23 00:24:07,541 DEBG 'watchdog-script' stdout output: 2024-07-23T02:24:07.542113106Z [debug] iptables chain policies are in place 2024-07-23T02:24:07.542125830Z 2024-07-23T02:24:07.551368973Z 2024-07-23 00:24:07,551 DEBG 'watchdog-script' stdout output: 2024-07-23T02:24:07.551419299Z [debug] VPN incoming port is 38759 2024-07-23T02:24:07.551431445Z [debug] qBittorrent incoming port is 38759 2024-07-23T02:24:07.551443088Z [debug] VPN IP is 10.23.160.107 2024-07-23T02:24:07.551453273Z [debug] qBittorrent IP is 10.23.160.107 2024-07-23T02:24:07.551462592Z * repeat forever * ```