Re: [core] Robert Wilton's No Objection on draft-ietf-core-problem-details-05: (with COMMENT)

Carsten Bormann <cabo@tzi.org> Wed, 15 June 2022 19:49 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1F2DFC15AAD2; Wed, 15 Jun 2022 12:49:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZeogGvrn75wb; Wed, 15 Jun 2022 12:49:38 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [134.102.50.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 97CAEC14F730; Wed, 15 Jun 2022 12:49:25 -0700 (PDT)
Received: from [192.168.217.118] (p5089ad4f.dip0.t-ipconnect.de [80.137.173.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4LNbVB3ckDzDCc1; Wed, 15 Jun 2022 21:49:22 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <165513066600.52553.12152614270041592140@ietfa.amsl.com>
Date: Wed, 15 Jun 2022 21:49:21 +0200
Cc: The IESG <iesg@ietf.org>, draft-ietf-core-problem-details@ietf.org, core-chairs@ietf.org, core@ietf.org, jaime@iki.fi
X-Mao-Original-Outgoing-Id: 677015361.76276-95f5308801eb0c0b9bfede145e064bff
Content-Transfer-Encoding: quoted-printable
Message-Id: <17E71117-B46D-4995-B17C-3361D5EA8C59@tzi.org>
References: <165513066600.52553.12152614270041592140@ietfa.amsl.com>
To: Robert Wilton <rwilton@cisco.com>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/s3Pu2Q5fQ_Vz4HyVv1PP7LAT6GY>
Subject: Re: [core] Robert Wilton's No Objection on draft-ietf-core-problem-details-05: (with COMMENT)
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Jun 2022 19:49:41 -0000

Hi Rob,


> No real objection except that it feels like this is yet another part of the
> "HTTP stack" that is ported into COAP in a somewhat bespoke way.  

Without the background that led to the current push to finish this document quickly, it might look this way.  The reason we want to finish this now is a specific request from 3GPP people who want to use this in their CoAP APIs in Release 17 (i.e., now).

> I'm not
> convinced that the on the wire byte savings will end up being that great,
> considering that there still seems to be a reasonable amount of text returned
> in the error response.  

Actually, Section 3.1.1 shows an example where there may not be much need for text, but a simple problem details data item of usually 3 bytes may be all that is needed (add 3 more bytes for including the Content-Format in the response).

> Further, although the responses end up being machine
> readable, I'm not sure how easily peer software can really automatically handle
> those errors other than the error indicating that it is a transient response
> and hence potentially the operation could be retried.

The response code will tell the application whether this is a transient server-side problem (5.xx, for which the client indeed cannot do much except for waiting and retrying) or a problem that can be influenced by the client (4.xx).
The example in Section 3.1.1 also happens to be an example for an obvious reaction: retry the operation without the offending option.

Grüße, Carsten