From owner-freebsd-ports@freebsd.org Wed Mar 17 06:11:18 2021 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4399D57B5E3 for ; Wed, 17 Mar 2021 06:11:18 +0000 (UTC) (envelope-from tagattie@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F0ftG1XYcz4hlQ; Wed, 17 Mar 2021 06:11:18 +0000 (UTC) (envelope-from tagattie@FreeBSD.org) Received: from mammoth.tagato.jp (unknown [IPv6:2409:11:22a0:8900::34]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: tagattie/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 7EF16DC2E; Wed, 17 Mar 2021 06:11:17 +0000 (UTC) (envelope-from tagattie@FreeBSD.org) Subject: Re: devel/electron11 fetching behind a proxy To: Henrik Rosenke References: <55f00e3f-5699-25bb-5c3a-72bba90aed5b@dssgmbh.de> Cc: FreeBSD From: Hiroki Tagato Message-ID: <2ed25db9-0563-aaa1-43bf-bc36e313ccfd@FreeBSD.org> Date: Wed, 17 Mar 2021 15:11:14 +0900 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <55f00e3f-5699-25bb-5c3a-72bba90aed5b@dssgmbh.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2021 06:11:18 -0000 Hi Henrik, Maybe you need to set proxy like this? export HTTP_PROXY=http://squid:3128 export HTTPS_PROXY=http://squid:3128 Hope this helps. Hiroki On 2021/03/16 5:10, Henrik Rosenke wrote: > Hello, > > i try to build editors/vscode, this needs devel/electron11. > Unfortunately electron cant fetch its files: > > [00:00:27] [1/4] Resolving packages... > [00:00:27] [2/4] Fetching packages... > [00:01:42] info There appears to be trouble with your network > connection. Retrying... > [00:03:00] info There appears to be trouble with your network > connection. Retrying... > [00:04:18] info There appears to be trouble with your network > connection. Retrying... > > It tries to reach an address 0.0.12.56: > >   131 123.954021073 192.168.0.116 ? 0.0.12.56    TCP 74 [TCP > Retransmission] 13171 ? 80 [SYN] Seq=0 Win=65535 Len=0 MSS=1460 WS=64 > SACK_PERM=1 TSval=808821751 TSecr=0 >   132 123.954026785 192.168.0.116 ? 0.0.12.56    TCP 74 [TCP > Retransmission] 57156 ? 80 [SYN] Seq=0 Win=65535 Len=0 MSS=1460 WS=64 > SACK_PERM=1 TSval=725678000 TSecr=0 >   133 123.954032590 192.168.0.116 ? 0.0.12.56    TCP 74 [TCP > Retransmission] 39187 ? 80 [SYN] Seq=0 Win=65535 Len=0 MSS=1460 WS=64 > SACK_PERM=1 TSval=826552890 TSecr=0 >   134 123.954038148 192.168.0.116 ? 0.0.12.56    TCP 74 [TCP > Retransmission] 44263 ? 80 [SYN] Seq=0 Win=65535 Len=0 MSS=1460 WS=64 > SACK_PERM=1 TSval=1959712912 TSecr=0 > > And my yarn error log: > > Trace: >   Error: https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.1.0.tgz: > tunneling socket could not be established, cause=connect ETIMEDOUT > 0.0.12.56:80 >       at ClientRequest.onError > (/usr/local/lib/node_modules/yarn/lib/cli.js:152220:17) >       at Object.onceWrapper (events.js:421:26) >       at ClientRequest.emit (events.js:314:20) >       at Socket.socketErrorListener (_http_client.js:427:9) >       at Socket.emit (events.js:314:20) >       at emitErrorNT (internal/streams/destroy.js:92:8) >       at emitErrorAndCloseNT (internal/streams/destroy.js:60:3) >       at processTicksAndRejections (internal/process/task_queues.js:84:21) > > > Do i need to set the right proxy in npm? if yes how i am going to do > this? Fetching via our proxy works for other ports, this is defined in > my poudriere.conf: > > # If you are using a proxy define it here: > export HTTP_PROXY=squid:3128 > > This is my env in the jail after running testport: > > Edit /etc/motd to change this login announcement. > root@j12p64-default-desktop:~ # env > USER=root > LOGNAME=root > HOME=/root > SHELL=/bin/csh > OSVERSION=1202505 > UNAME_v=FreeBSD 12.2-STABLE 1202505 > UNAME_r=12.2-STABLE > BLOCKSIZE=K > MAIL=/var/mail/root > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin > TERM=xterm-256color > HOSTTYPE=FreeBSD > VENDOR=amd > OSTYPE=FreeBSD > MACHTYPE=x86_64 > SHLVL=1 > PWD=/root > GROUP=wheel > HOST=j12p64-default-desktop > EDITOR=vi > PAGER=less > > Maybe anybody got a hint where to look at. > > Kind regards, > > Henrik Rosenke > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"