Message ID | 20240418042454.3916640-1-dominique.martinet@atmark-techno.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBCWIVBV7SUGRBI6BQKYQMGQEBURHR6Q@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20230601 header.b=HsxQcxxe; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2607:f8b0:4864:20::839; helo=mail-qt1-x839.google.com; envelope-from=swupdate+bncbcwivbv7sugrbi6bqkyqmgqeburhr6q@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-qt1-x839.google.com (mail-qt1-x839.google.com [IPv6:2607:f8b0:4864:20::839]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VKl7L5Y8Xz1yZY for <incoming@patchwork.ozlabs.org>; Thu, 18 Apr 2024 14:25:17 +1000 (AEST) Received: by mail-qt1-x839.google.com with SMTP id d75a77b69052e-4378c5367d3sf6406921cf.3 for <incoming@patchwork.ozlabs.org>; Wed, 17 Apr 2024 21:25:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713414309; cv=pass; d=google.com; s=arc-20160816; b=GCQZbWfW2F1ocN3cnm7jtcTkpjcAmZQ4f3TPhtbWtLYwc4RES1jiGUnTix5qTECmUc 0Lp1ZU/szp9PcKiyx8npY2Ejx21RWoNwGFnE298XB4BNPn9BtLStKoxtv8yFzAuS1G2C jx47GWvk2wOJmhvMTC5hlJGNisF86IWQnPoklV+tKXXt7oQre5PByhuvo4EGNmjSbzzY w/U+lrKmhOWQuaEKbtxxH2mEoiCq3ThbtZJIJ5FTYh9/U1HKpZ5mOJor57GPnignTL/O WMgSXAbd7KP9zGQPBT+t6vQlb65wjlpEgRp4lja8nY2ekcWHdNGPnqbyzaw012i0nUig uLhQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature; bh=fD4UHre/WhKRD2rO6fSPnqU4dKTxiQgxkOlDVRIuizg=; fh=1bbk+s9pqktMK1oSpZU5mZzykYXQe/nw5ZxldBpD6l4=; b=wwGVamMhkHKJy6TRLObeylogcotHWR0L9HOGyCE97J3kuTPAlKs+TSqu3iBIBEv+o9 chYj+oaSTv1zAMUm1fRiv9oqxGV1LMJebc8J+g1jFZLSEB0xJ3hOG0coUsXJo0jsX1Qi /xuCeKqdN3+s71hRWV6tQ6hy3/519q6uN+XAberso1ayrSDuxmZUA0cpBn68qiTPAii9 HwNe8hJZ8Ck94daQeqOyjiAiT1IHA2BCUCYz3LQGEfXm59JStq6RDXXHg+5ZqK26G61k yw+intHs3VPKVcoESfSyG0TNZOwKxMx5zNphg22EaoN+oX21WIWrZgL1iGoyMLfOwC6x wAsw==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@atmark-techno.com header.s=gw2_bookworm header.b=vGlBBD3z; dkim=pass header.i=@atmark-techno.com header.s=google header.b=dvTwS8f9; spf=pass (google.com: domain of dominique.martinet@atmark-techno.com designates 35.74.137.57 as permitted sender) smtp.mailfrom=dominique.martinet@atmark-techno.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=atmark-techno.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1713414309; x=1714019109; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :sender:from:to:cc:subject:date:message-id:reply-to; bh=fD4UHre/WhKRD2rO6fSPnqU4dKTxiQgxkOlDVRIuizg=; b=HsxQcxxec2MEg2r/a3/GZEqdzpmxD7qx+yqAB5Ym5Lk2JKcRhuXWbG+HQ68T7dF+R6 dQ0bz2DE1csFKMFAquG24z7EaixBJD7yppqYbN63054dz/Fk2yfDLWkZU2Se7wmqRgxc 7xz2HI2RpgmFMgvdnoP/0LeH8M4fHer93ZXVwYTXcfJEy2eCuPYesXUILJHaNYq8FOyV +9EllLTc2qlhFws2SZAM6rNc8Oxdez3u4rJclQfglBCNAycrKAmcjwj+F1VrJ6M+2yO5 8nowflK3UnCI1JhrebuUMVf3ROU1IBdVwYFAOsjwkvK7VPwrBuJGF6WurfiCrITb4xix 2DVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713414309; x=1714019109; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=fD4UHre/WhKRD2rO6fSPnqU4dKTxiQgxkOlDVRIuizg=; b=v3sicgu8NybeS2KkRovzI++i+LyOFboMJtm6u2r1VXAy1sHNZDzH/5vkXeQ6fdDZvI TgIX7IajqYLrOFk51ybSehKtnWaqTkVbTtPDOZYD6PRb7awvUOxyE2++9vCt4398q/dh wJPa9wwrhvmHmgNKDUyPTjYiAlfBd6EZpSvhTXTYzWeyWEuk8B1175lkePHBzlCZQmIZ 4ZOgjqVC69pYOqaTt19qxZ81/YiO5tsE4ow1OZRcVMISU4lPtsVG1yqKiAaVk9NiJick K1SOrtFm/un0MW6aCg8K/UAi/cvDYjoqAoNIaybUtOJOfG0rxKXjKsdRmyGN67xF7sLQ 6AEA== Sender: swupdate@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCU1Dyep7T9CtcfmmVocXfOP2gu2wVW8wr7V+I85kCsat2OlGheSoIygJp0rQVRxW6s82fJRmhI86zRKo51MTg0ajV4jmx6TQTXgXzzuzw== X-Gm-Message-State: AOJu0YyHa9KHBXwDQvHu7oP8DJNIa/FQn4Q74b6ZbYzMCMYe38T5IYiX UpgUifd4sbn53sPx//ZQ7rUs8XBjBlFYuh5WqZOzffFss+Av9ckq X-Google-Smtp-Source: AGHT+IG0cjeV0yr3fDNRjxgudJEAR1Fv6VbnCOlK6oJPtUZwX0AzMy7JThqmsu6gv26438IiggwFxQ== X-Received: by 2002:ac8:578d:0:b0:437:8445:7d60 with SMTP id v13-20020ac8578d000000b0043784457d60mr2070346qta.29.1713414308645; Wed, 17 Apr 2024 21:25:08 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:ac8:7e96:0:b0:436:ab0e:c3ea with SMTP id w22-20020ac87e96000000b00436ab0ec3eals4358818qtj.1.-pod-prod-06-us; Wed, 17 Apr 2024 21:25:07 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWdrnxCOGXGrsywJfb038KR4P72ijoXtoAQwjpALGakA25SkfEC3TSwYX90xx+yxdABEUEMBIKTu3h0seT4K/nU4lsZZY+VYg0Z X-Received: by 2002:a05:620a:1213:b0:78e:f91b:b194 with SMTP id u19-20020a05620a121300b0078ef91bb194mr1748591qkj.50.1713414306799; Wed, 17 Apr 2024 21:25:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1713414306; cv=none; d=google.com; s=arc-20160816; b=O6bp+/YU1baA0XiIjUTrtNMCAZ10KhjF9hkIAQ6Ht4qY9ZwHzQLUi5zs7Hfum2a5LS D4zXTPtl9Y9VjluYCQtnwsWVOjSjvNwVP7gCjlkGmTaw4dzYfzb7gAedykG2KsGM0Umk 3mFa7oVfz9f7TvYnIuMaGFU/S+dkcZoNZPIrimvTZa6L3CFBCuQDo9ok1FGeyHD3ZsD/ OmHrsz9cDyfmQHY7pVD4MSmHJV6WgK2T13ahnKwSbbQe3+BtJFi8QfEVVmqQ7rNMrA7V AbQAFMWUoKBY2sJiAXqIyk7+bdRolZSBlShgJgKtNAfb0zgTwIhe/rHkLGJpb2CGYFon Quyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature:dkim-signature; bh=SXab1ty9AFiECOjL7bS54M+6KiQSh/9Cr4/K8MfSGhw=; fh=4gwqSoaVwFGoL3ABDq/UBtMewcMqNStQVhLgwCFCPYE=; b=DN9M66EWk0eAIeh42ZDZiKXuYVDrlgEg8TatuKYxeawH3kzEqQCw95RDYdKd3pOW1b p5WpmHcTRpYMSZ9tJiX9BkMsameFMLgyjwcb4WDwH0603t6ErfO4q7gxSwpV89RRITfg 36yRzI3ThdUnLqtpb3nPJWeJVTQDAN1Ef8SBPu4dJ6pwDowBsKpSXFtn9c87smKIKRin f/qqi8uDVR6YW0IPdu7wCxraeY3vRZ3wwx6qdDDq047qDNaYvR1x3cd4WAcvbAK1Im9c CdG6U7fSElSHEPn+r11XaG3Rt7qKOAAhT6rgP4j2pZyCRb9D0IBSjhWmBm7AUtXLngDo pz8w==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@atmark-techno.com header.s=gw2_bookworm header.b=vGlBBD3z; dkim=pass header.i=@atmark-techno.com header.s=google header.b=dvTwS8f9; spf=pass (google.com: domain of dominique.martinet@atmark-techno.com designates 35.74.137.57 as permitted sender) smtp.mailfrom=dominique.martinet@atmark-techno.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=atmark-techno.com Received: from gw2.atmark-techno.com (gw2.atmark-techno.com. [35.74.137.57]) by gmr-mx.google.com with ESMTPS id a12-20020a05620a02ec00b0078d67dffcd0si44023qko.6.2024.04.17.21.25.06 for <swupdate@googlegroups.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 21:25:06 -0700 (PDT) Received-SPF: pass (google.com: domain of dominique.martinet@atmark-techno.com designates 35.74.137.57 as permitted sender) client-ip=35.74.137.57; Received: from gw2.atmark-techno.com (localhost [127.0.0.1]) by gw2.atmark-techno.com (Postfix) with ESMTP id 4AD774AB for <swupdate@googlegroups.com>; Thu, 18 Apr 2024 13:25:04 +0900 (JST) Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by gw2.atmark-techno.com (Postfix) with ESMTPS id 2457517D for <swupdate@googlegroups.com>; Thu, 18 Apr 2024 13:25:04 +0900 (JST) Received: by mail-pf1-f198.google.com with SMTP id d2e1a72fcca58-6ed25ed4a5fso664112b3a.1 for <swupdate@googlegroups.com>; Wed, 17 Apr 2024 21:25:04 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCW3uRmFH45e2g3JuQltTxB8ERj2xCzV/izaE2mXcn65ikhoRcr2FhVuqbxn9bUgtIV2g37V68f2LfmtT8zaaUQD7tdtI29LB0/E X-Received: by 2002:a05:6a00:3a28:b0:6ed:5655:a091 with SMTP id fj40-20020a056a003a2800b006ed5655a091mr2194483pfb.29.1713414303081; Wed, 17 Apr 2024 21:25:03 -0700 (PDT) X-Received: by 2002:a05:6a00:3a28:b0:6ed:5655:a091 with SMTP id fj40-20020a056a003a2800b006ed5655a091mr2194461pfb.29.1713414302607; Wed, 17 Apr 2024 21:25:02 -0700 (PDT) Received: from pc-0182.atmarktech (103.131.189.35.bc.googleusercontent.com. [35.189.131.103]) by smtp.gmail.com with ESMTPSA id m19-20020aa78a13000000b006e697bd5285sm495267pfa.203.2024.04.17.21.25.02 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Apr 2024 21:25:02 -0700 (PDT) Received: from [::1] (helo=pc-0182.atmark.tech) by pc-0182.atmarktech with esmtp (Exim 4.96) (envelope-from <dominique.martinet@atmark-techno.com>) id 1rxJKW-00GQtp-3B; Thu, 18 Apr 2024 13:25:01 +0900 From: Dominique Martinet <dominique.martinet@atmark-techno.com> To: stefano.babic@swupdate.org, swupdate@googlegroups.com Cc: Dominique Martinet <dominique.martinet@atmark-techno.com> Subject: [swupdate] [PATCH] channel_curl: make CURLE_HTTP2_STREAM error retriable Date: Thu, 18 Apr 2024 13:24:54 +0900 Message-Id: <20240418042454.3916640-1-dominique.martinet@atmark-techno.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Original-Sender: dominique.martinet@atmark-techno.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@atmark-techno.com header.s=gw2_bookworm header.b=vGlBBD3z; dkim=pass header.i=@atmark-techno.com header.s=google header.b=dvTwS8f9; spf=pass (google.com: domain of dominique.martinet@atmark-techno.com designates 35.74.137.57 as permitted sender) smtp.mailfrom=dominique.martinet@atmark-techno.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=atmark-techno.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: <https://groups.google.com/group/swupdate/post>, <mailto:swupdate@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:swupdate+help@googlegroups.com> List-Archive: <https://groups.google.com/group/swupdate List-Subscribe: <https://groups.google.com/group/swupdate/subscribe>, <mailto:swupdate+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>, <https://groups.google.com/group/swupdate/subscribe> |
Series |
channel_curl: make CURLE_HTTP2_STREAM error retriable
|
expand
|
diff --git a/corelib/channel_curl.c b/corelib/channel_curl.c index 35f7f37f3063..368330bd0265 100644 --- a/corelib/channel_curl.c +++ b/corelib/channel_curl.c @@ -404,6 +404,7 @@ channel_op_res_t channel_map_curl_error(CURLcode res) case CURLE_COULDNT_CONNECT: case CURLE_INTERFACE_FAILED: case CURLE_USE_SSL_FAILED: + case CURLE_HTTP2_STREAM: return CHANNEL_ENONET; case CURLE_OPERATION_TIMEDOUT: case CURLE_SEND_ERROR:
An user reported intermittent failures with this error on some server when accessed through LTE, allow retries on this error: [ERROR] : SWUPDATE failed [0] ERROR channel_curl.c : channel_get_file : 1344 : Channel operation returned error (92): 'Stream error in the HTTP/2 framing layer' Signed-off-by: Dominique Martinet <dominique.martinet@atmark-techno.com> --- Looking at the curl code this feels like it could be CHANNEL_EAGAIN instead of ENONET, but given I haven't been able to reproduce the error accessing the same server through bandwidth limiting or temporary packet drops I'm thinking there might be something fishy with this LTE connection and ENONET feels safer. (I've had confirmation this "fixes" the issue for them, as in the retries do allow swupdate to download the problematic update, but didn't have them try EAGAIN -- I can have them test it if you feel strongly about it) corelib/channel_curl.c | 1 + 1 file changed, 1 insertion(+)