From nobody Fri Jan 07 13:15:56 2022 X-Original-To: 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 1564F193C19F for ; Fri, 7 Jan 2022 13:15:57 +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 4JVkHc2LZcz4fKQ for ; Fri, 7 Jan 2022 13:15:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 240C43E50 for ; Fri, 7 Jan 2022 13:15:56 +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 207DFuMm060117 for ; Fri, 7 Jan 2022 13:15:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 207DFujJ060116 for bugs@FreeBSD.org; Fri, 7 Jan 2022 13:15:56 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: bugs@FreeBSD.org Subject: [Bug 260399] freebsd-update: Downloading patches often fails repeatedly Date: Fri, 07 Jan 2022 13:15:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: somesignup@icloud.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: koobs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641561356; 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: in-reply-to:in-reply-to:references:references; bh=nCf/XGevsldGfGz4PCExSxYanOfSQOlCUOlKiWYQ66k=; b=Ph0w0Jzp1SdSYTjQRbg8AwvTgqstExIFOUn5+AAeyLvSGMMinUeTpBHfMP252zXxxG+hvB wJxztCRo+TE84FZ0HzGMXZOHqMKXn03TfELFenEnRfztJMPpLApxasCquYPwXw2qVweMqo DKLkaqUbiV1v2yh3YiPeDBI+iIu97uLQxIAzX3zeqAq7oEdRPzWmEZWk2Cw9tcj84Z54k3 zyc6a/anx4nIueHECPiTnpCYAQq6YHbAIi0T7o5N82sQ249bLtdA31JQVJ87JzU30dxvS8 v90JuhZ06xc4ppgk8kLZZlRsU9KzHGvohVw69T3hU4ttZDJp4h4juVlMk+HNwg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641561356; a=rsa-sha256; cv=none; b=ooD7FCL7MQ83H2nAZ6yRx9lae/goHKEbfzOPp4ROoWHTiC/Dek8Odwxzdek/GSlK4NROwY UhDoFY5olepvMhwTw9WktbcoSVNhWT0UmHOQyI9VR0WiFIlsoN1zzNRfykrFCxuVQRWuQL COgpk7CBWyYwrHG4nIL29la3zQFaAHvDQBUZ0ctpOHHjlUSVnjkfJMKHosxtoQFHbsAf8I dbvnraD5ik0ILN/6cCDPZNySK9ASQKZtWpoiyP2PrtTkR9mIihnhN91Bf4+oMtZTcsIb1Y 0hNWanEa6CWdkiENVCPGkCmDehYLch0kZ1qdMAd4a2Y+kcgTpkmmJ3qsN5swBQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260399 --- Comment #11 from Some Signup --- My apologies: please note, my last post referred to freebsd-update when on = that occasion I was using portsnap. But I often see the same end result of failed downloads when using freebsd-update - the symptoms are exactly the same.=20 -> 3. The one thing which concerns me here is the HTTP 400 errors; can you reproduce those with HTTP headers I can't reproduce this using curl for an individual file. Looking at my latest attempt at using portsnap I saw this number of errors: 714 400 Error (ignored) 7725 404 Error (ignored) 1 408 Error (ignored) 3 413 Error (ignored) Ignoring the 404 errors thanks to Colin's explanation, the other errors see= m to be important. I thought an http 400 error means a bad request, or a request that the web server cannot handle? I've done a tcpdump while running portsnap --debug auto on a machine. I can attach a part of it. In amongst the 'good' http headers I do see some heade= rs which appear to be 'bad'. A typical 'good' request: GET /bp/22c67764d7b53be769033f98ec4422a47cf71014b47dd893bfd8ba2817a37d38-ce207a= 35bd0fbdb64ac3326e0a2d81e0caf2eb8a9a8c650b11d052a6ea45c2b4 HTTP/1.1 Host: ipv4.aws.portsnap.freebsd.org User-Agent: portsnap (auto, 13.0-RELEASE-p4) Connection: Keep-Alive A bad request: GET /bp/5934ff241e93ae4916c3bd479e032aad2a7bb1e3a3e30c8a0cbe0851d2777ef5-8f7b4d= 39e928d7b3def5c19e2df1bf8986af290a1eac8545b2b134be76258b40 HTTP/1.aws.portsnap.freebsd.org User-Agent: portsnap (auto, 13.0-RELEASE-p4) Connection: Keep-Alive The GET and and Host parts are clobbered together and a spurious '.' is inserted. It looks like the 'HTTP/1.1' is being truncated or overwritten. I= can see this same type of error several times: GET /bp/5e8bc5f6bc657c2e0ca384f617bedd73772f7173a06b64838528832802437619-b24ab5= 58baef9f4a5570bedc48bd720a22e1cd45d1bd38a385730da9d0ddbddb HTTP/1.aws.portsnap.freebsd.org GET /bp/c502e4c30cb2334244f0038351847344ac7452959a913e0972a011dbb8abc0ce-1a4ca6= cb90dab8fae3f2adcec09d82a86d17a20955387dfff3cdf474bbf60c17 HTTP/1.aws.portsnap.freebsd.org GET /bp/955b599e8e767b1a714dabdae3498c0b1e6aaa5f337e058061b8e60fd2a56f5c-4e47c6= 280360287ebc768026f7e60b8b4d97a937d97f7e593c2c689b46c0cb41 HTTP/1.aws.portsnap.freebsd.org GET /bp/298b882b48d8a1d54e99ebfb46d52acb8b757c14d2bcdfcb61e508a015349155-e01fa8= 224d0d5ff8e4b01cc6894dde48f9997229908bd52f4096cb03d58f9f8e HTTP/1.aws.portsnap.freebsd.org ... --=20 You are receiving this mail because: You are on the CC list for the bug.=