From owner-freebsd-questions@freebsd.org Mon Jan 4 16:29:25 2021 Return-Path: Delivered-To: freebsd-questions@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 09C084DB6A6 for ; Mon, 4 Jan 2021 16:29:25 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from mx-p1.obspm.fr (mx-p1.obspm.fr [145.238.193.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "*.obspm.fr", Issuer "GEANT OV RSA CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D8h0h1lFhz3Fns for ; Mon, 4 Jan 2021 16:29:23 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from io.chezmoi.fr (vpn.obspm.fr [145.238.186.39]) (authenticated bits=0) by mx-p1.obspm.fr (8.15.2/8.15.2/DIO Observatoire de Paris - 15/04/10) with ESMTPSA id 104GTLVT229730 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 4 Jan 2021 17:29:22 +0100 Date: Mon, 4 Jan 2021 17:29:21 +0100 From: Albert Shih To: Andrea Venturoli Cc: freebsd-questions@freebsd.org Subject: Re: pkg update timeout Message-ID: References: <4ed8211e-146d-aaca-2b74-cf8469c33d87@netfence.it> <74c7fef5-aaef-79a9-8e1c-e6e86ffba0fa@netfence.it> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <74c7fef5-aaef-79a9-8e1c-e6e86ffba0fa@netfence.it> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.11 (mx-p1.obspm.fr [145.238.193.20]); Mon, 04 Jan 2021 17:29:22 +0100 (CET) X-Virus-Scanned: clamav-milter 0.102.4 at mx-p1.obspm.fr X-Virus-Status: Clean X-Rspamd-Queue-Id: 4D8h0h1lFhz3Fns X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of Albert.Shih@obspm.fr designates 145.238.193.20 as permitted sender) smtp.mailfrom=Albert.Shih@obspm.fr X-Spamd-Result: default: False [-3.50 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[obspm.fr]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[145.238.193.20:from]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:2200, ipnet:145.238.0.0/16, country:FR]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2021 16:29:25 -0000 Le 04/01/2021 à 17:09:02+0100, Andrea Venturoli a écrit > Hi, > > I've got: > > % cd /usr/local/etc/ > % diff pkg.conf.sample pkg.conf > 41c41 > < #FETCH_TIMEOUT = 30; > --- > > FETCH_TIMEOUT = 300; > Lots of thanks. I think I find out the problem. If the server a reachable on the IP level (like nginx/apache are down) the FETCH_TIMEOUT and FETCH_RETRY work fine. If the server are just down (poweroff) the FETCH_TIMEOUT and FETCH_RETRY not working. I will create a issue. Regards -- Albert SHIH Observatoire de Paris xmpp: jas@obspm.fr Heure local/Local time: Mon Jan 4 05:26:39 PM CET 2021