From e803fa57ac0920879cdfea4112545e421286810d Mon Sep 17 00:00:00 2001 From: Jellyfrog Date: Wed, 8 Dec 2021 15:22:20 +0100 Subject: [PATCH] use http for proxy urls via guzzle (#13601) Fixes #13598 --- LibreNMS/Util/Proxy.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LibreNMS/Util/Proxy.php b/LibreNMS/Util/Proxy.php index 4de18028a8..f9d846994d 100644 --- a/LibreNMS/Util/Proxy.php +++ b/LibreNMS/Util/Proxy.php @@ -61,13 +61,13 @@ class Proxy } /** - * Return the proxy url in guzzle format "tcp://127.0.0.1:8888" + * Return the proxy url in guzzle format "http://127.0.0.1:8888" */ public static function forGuzzle(): string { $proxy = self::forCurl(); - return empty($proxy) ? '' : ('tcp://' . $proxy); + return empty($proxy) ? '' : ('http://' . $proxy); } /**