diff --git a/openvpn_manager.py b/openvpn_manager.py index 0181e81..cec47f1 100644 --- a/openvpn_manager.py +++ b/openvpn_manager.py @@ -54,9 +54,9 @@ def establish_vpn_connection(ovpn_file, credential_file, log_file, debug_print=N return True, line # Check for AUTH_FAILED message if "AUTH: Received control message: AUTH_FAILED" in line: - debug_print("Authentication failed. Sleeping for 15 seconds.") + debug_print("Authentication failed. Sleeping for 5 seconds.") #print(f"{datetime.datetime.now()} [OpenVPN Manger]: AUTH: Received control message: AUTH_FAILED, sleeping for 15 seconds") - time.sleep(15) + time.sleep(5) return False, "AUTH: Received control message: AUTH_FAILED" break