airsupportusertempforum 0 Posted ... (edited) Hi. I have been working with AirVPN support to try and understand how to best manage a somewhat common scenario. Any additional thoughts/comments will be appreciated. Problem: Sometimes the connection established by Bluetit dies - this can be for any number of reasons. When this happens, I encounter a similar problem reported here The issue I am facing is that when the tunnel dies (I simulate by removing ethernet cable from device) the connection is not re-established. I need to manually log in to my device, run a few commands and the connection is restored. I understand I could probably make a script to try and detect the problem (for example, attempt to make a http request) and then run a .sh file with some commands... But why can't bluetit/goldcrest recover in such a situation? And what is the best way to handle this situation without manual input? If I need to make a script, how can I handle any possible edge cases? I am wondering if others in this community have had such issues and how they are resolved... Thanks. Edited ... by airsupportusertempforum Quote Share this post Link to post
cannac 2 Posted ... I'm assuming you've tried # goldcrest --recover-network and that does not work. Where does your symlink resolv.conf.airvpnbackup point in /etc/airvpn? I had a similar issue and had to remap it from ../run/systemd/resolve/stub-resolv.conf to /run/systemd/resolve/stub-resolv.conf Quote Share this post Link to post
Staff 9972 Posted ... @airsupportusertempforum@cannac Hello! Those problems you mention should be different and unrelated. When Bluetit gets stuck in a loop of re-connections caused by OpenVPN3-AirPVN inability to reconnect to the same server, no --recover-network should be necessary, provided that you stop Bluetit properly, or you just send a disconnect command. Then you can send an air-connect command or what you need. The OpenVPN3 inability to re-connect when you abruptly disconnect, and later re-connect, the Ethernet cable will be investigated. As far as we can see it may occur with OpenVPN 2 too and we suspect to know why. In such cases anyway a disconnection followed by a connection resolves the issue both with OpenVPN3-AirVPN and OpenVPN 2. The problem mentioned by @cannac has not been reproduced unfortunately. and we have no clues or suggestions at the moment. Can you tell us your Linux distribution name and version and describe the problem which forced you to change the symlink? Kind regards Quote Share this post Link to post
cannac 2 Posted ... Sure, I've had this issue consistently on ubuntu 20.04 (both amd64 and aarch64) running airvpn suite 1.1.0. Without changing the symlink, --recover-network does not work. Maybe this should be moved to different topic, since my post was unrelated? 1 Staff reacted to this Quote Share this post Link to post