From owner-freebsd-questions@FreeBSD.ORG Mon Dec 8 10:01:02 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D2A947B4; Mon, 8 Dec 2014 10:01:02 +0000 (UTC) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8D4BD9BB; Mon, 8 Dec 2014 10:01:02 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.82) with esmtp (envelope-from ) id <1Xxv7i-002rS2-FC>; Mon, 08 Dec 2014 11:00:58 +0100 Received: from p578a69f9.dip0.t-ipconnect.de ([87.138.105.249] helo=prometheus) by inpost2.zedat.fu-berlin.de (Exim 4.82) with esmtpsa (envelope-from ) id <1Xxv7i-002fo0-CJ>; Mon, 08 Dec 2014 11:00:58 +0100 Date: Mon, 8 Dec 2014 10:59:54 +0100 From: "O. Hartmann" To: Olivier Nicole Subject: Re: Difference between fetch(1) and firefox http-access Message-ID: <20141208105954.4a456a6a@prometheus> In-Reply-To: References: <20141208081345.6960d593@prometheus> Organization: FU Berlin X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Originating-IP: 87.138.105.249 Cc: "freebsd-questions@freebsd.org" , freebsd-ports@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 10:01:02 -0000 On Mon, 8 Dec 2014 16:19:01 +0700 Olivier Nicole wrote: > Olivier, > > > Running CURRENT (FreeBSD 11.0-CURRENT #2 r275512: Fri Dec 5 > > 16:00:34 CET 2014 amd64), I ran into some kind of obscurity I can > > not fathom. > > > > Updating ports fails since a couple of days by now (I do updates on > > a daily basis). fetch isn't capable of reaching any(!) server it > > tries to download sourcecode tarballs from (neither via ports ftp, > > http, https). > > > > When manually copied the sources of the tarball to Firefox' URL > > requester, I can luckily download the sources to whatever > > destination I like and I have to copy them to > > the /usr/ports/distfiles[/blabla] destination manually. > > Did you try to fetch the source manually: fetch URL... Yes I did, no success, see below for the magic solution of the "problem" ... > > Just to confirm/infirm the problem with fetch. Do you have some > HTTP_PROXY env variable set? That was the hint of the hints. I swapped from a "secured" environment back to a more open and forgot to reset/unset the http_proxy and ftp_proxy environment variables :-( I wasn't aware of the fact that I had set them. So, the problem is bewtween my eyes ... Sorry for the noise, many thanks for the quick solution ... Oliver > > Olivier > > > > > As I understood "fetch" it establishes a simple ftp, http or https > > connection, as Firefox does. But it seems that something is going > > terribly wrong. > > > > It would be nice if someone could push me towards a hint or > > something to solve the problem. I hope it's not a serious bug but a > > simple error in the configuration. > > > > Thanks in advance, > > Oliver > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org"