From 6f349b0f91b756ee49057c695cc8ebe9580364fa Mon Sep 17 00:00:00 2001 From: tcely Date: Fri, 7 Mar 2025 23:22:04 -0500 Subject: [PATCH] Disable proxies for health checking --- tubesync/healthcheck.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tubesync/healthcheck.py b/tubesync/healthcheck.py index 0826b7bb..5cdc63ed 100755 --- a/tubesync/healthcheck.py +++ b/tubesync/healthcheck.py @@ -18,6 +18,8 @@ import requests TIMEOUT = 5 # Seconds HTTP_USER = os.getenv('HTTP_USER') HTTP_PASS = os.getenv('HTTP_PASS') +# never use proxy for healthcheck requests +os.environ['no_proxy'] = '*' def do_heatlhcheck(url):