NetBSD Problem Report #54116

From www@netbsd.org  Fri Apr 12 08:50:31 2019
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id B24877A16D
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 12 Apr 2019 08:50:31 +0000 (UTC)
Message-Id: <20190412085030.EECD97A1BD@mollari.NetBSD.org>
Date: Fri, 12 Apr 2019 08:50:30 +0000 (UTC)
From: tschweikle@gmail.com
Reply-To: tschweikle@gmail.com
To: gnats-bugs@NetBSD.org
Subject: pkg_add and others ignores proxy settings
X-Send-Pr-Version: www-1.0

>Number:         54116
>Category:       pkg
>Synopsis:       pkg_add and others ignores proxy settings
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    joerg
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 12 08:55:00 +0000 2019
>Last-Modified:  Sun Apr 14 10:37:19 +0000 2019
>Originator:     Thomas Schweikle
>Release:        7.2_STABLE NetBSD 7.2_STABLE (GENERIC.201904092300Z) amd64
>Organization:
>Environment:
NetBS local 7.2_STABLE NetBSD 7.2_STABLE (GENERIC.201904092300Z) amd64
>Description:
# setenv
no_proxy=localhost, 127.0.0.1
ftp_proxy=http://proxy-lb-muc.bfs.de:8080
http_proxy=http://proxy-lb-muc.bfs.de:8080
https_proxy=http://proxy-lb-muc.bfs.de:8080
gopher_proxy=http://proxy-lb-muc.bfs.de:8080

Proxy set. pkg_add shall connect to servers via proxy, but does not:
# pkg_add -u \*
pkg_add: Can't process https://nyftp.netbsd.org:443/pub/pkgsrc/packages/NetBSD/amd64/7.2/All/*: Connection timed out
pkg_add: Can't process https://ftp.netbsd.org:443/pub/pkgsrc/packages/NetBSD/amd64/7.2/All/*: Connection timed out

In tune no updates. Installing packages fails too.
>How-To-Repeat:
Install NetBSD.
Upgrade to 7.2 latest.
Try to install/upgrade pkgs.

Will fail if behind a firewall requiring to use proxys.
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->joerg
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Sun, 14 Apr 2019 10:37:19 +0000
Responsible-Changed-Why:
Joerg, could you take a look please?


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.