Open TheColorman opened 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'.
Since I'm away from the server I'm waiting for it to happen again naturally, but I've enabled DEBUG in the meantime
Here are the logs, seems like an unexpected process exit at 2024-07-23T02:23:58:
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.