In function get_ip() you use two hardcoded servers to check ip. The server is chosen randomly. The problem is when one server is down and is seleted all switch process fail. I suggest verify that servers are ready before ip checking. Today ip4only is down :)
In function get_ip() you use two hardcoded servers to check ip. The server is chosen randomly. The problem is when one server is down and is seleted all switch process fail. I suggest verify that servers are ready before ip checking. Today ip4only is down :)