From nobody Mon Dec 05 10:28:29 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NQfs950M5z4jKHc for ; Mon, 5 Dec 2022 10:28:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NQfs92d79z4Y0Z for ; Mon, 5 Dec 2022 10:28:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670236109; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ALMNuMYrIo57IQMuqXRFU4eQa/wfmFBAcm+wG2dLKRA=; b=xOsxHs8XCBArXvLJSw55ziKn/rlW5hMQOY1ftJr7y00QXaC3cGXLdLcCX0dK0OBd/xC5Ef bUDRDi6PZMZxzTFIvVAJD8oGCNg6dGGbdPnGBfqJsryzlv1TmASBTIGGGclryKUes6DAjW Z5qYQgYJ2845hY/Hs85CNqXXUHHwQLvBDQRTlHwxBTLU4WHzAaJEQ+3ouZYES10REARz+7 2PXYI/GZhR0CvSAVFADQfS8FZ1efHUphH859CvPDv6dXJoqtv/iqW8vuJ0te72tnT+vUhw VS1aR4+n8axBjK5N3kHNQWiB72oy9O/hBDvAKD3Xzk4L2CYBZWCeZPSV0B/Q1g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670236109; a=rsa-sha256; cv=none; b=dzyzaRiXhOmRgxVtKfRPBTnnuk3rGpQkHw31b3pqj5dPaag4ieHT5izz9vSWzSaKSPOVIA FuC/YXosXV4pLXjRG2CviJWEPk/+dkwjt10OSBM//TpCKFNrQ4A8JWtRSTBBIn+VTIhOco /w29AQM4DcE9QD1F/+IJiO6rLy+1SzVAObb3AyVFejdgibTzdvkyxFmyTDKxcEvvyLFKKR P95Yhn9f0RvWyZSJSDfKMdNt/TWKRHGoNCgKWKGoXvGhkau3KGjXjyI2RcMbIWH+R4jv8C 2rhEHE07CGZlVEB+ul0FTzBPe91ZI6etNh8lg61kpeb22Eb7Yqk15RD+qXE98Q== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NQfs91bKgztwg for ; Mon, 5 Dec 2022 10:28:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2B5ASTkC075995 for ; Mon, 5 Dec 2022 10:28:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2B5ASTmD075994 for ports-bugs@FreeBSD.org; Mon, 5 Dec 2022 10:28:29 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 268169] www/py-requests: Handle space-separated values in NO_PROXY Date: Mon, 05 Dec 2022 10:28:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: michael.osipov@siemens.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sunpoet@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268169 Bug ID: 268169 Summary: www/py-requests: Handle space-separated values in NO_PROXY Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: michael.osipov@siemens.com Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Assignee: sunpoet@FreeBSD.org NO_PROXY is unfortunately not standardized many applications and libs do support whitespace- and comma-separated env var value. Unfortunately, due t= o PR 236204 one cannot use commas. Therefore, I have created a PR upstream, afte= r a long-running discussion they rejected my PR for no profound reason. To still solve this problem on FreeBSD providing my patch to downstream. withouth the patch: =3D=3D=3D=3D=3D=3D=3D $ echo $NO_PROXY localhost .siemens.net .siemens.com .siemens.de osipovmi@deblndw011x:~/var/Projekte/lda-docgen/latex-system/templates (mast= er =3D) $ .gitlab-ci/validate-templates.py -S backend-dev -J 8 LaTeXSample/1 2022-12-05 11:26:16,099 [MainThread] INFO validate-templates.py: Validating template 'LaTeXSample/1' ... Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", = line 700, in urlopen self._prepare_proxy(conn) File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", = line 996, in _prepare_proxy conn.connect() File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 369, in connect self._tunnel() File "/usr/local/lib/python3.7/http/client.py", line 931, in _tunnel message.strip())) OSError: Tunnel connection failed: 502 Bad Gateway During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line = 499, in send timeout=3Dtimeout, File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", = line 788, in urlopen method, url, error=3De, _pool=3Dself, _stacktrace=3Dsys.exc_info()[2] File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line 592, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=3D'....ad001.siemens.net', port=3D443): Max retries exceeded with url: /backend-dev/api/documents (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 502 Bad Gateway'))) =3D=3D=3D=3D=3D=3D=3D With the patch all works. --=20 You are receiving this mail because: You are the assignee for the bug.=