Re: [xml2rfc] url

Carsten Bormann <cabo@tzi.org> Sun, 07 July 2019 18:57 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: xml2rfc@ietfa.amsl.com
Delivered-To: xml2rfc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 38444120075 for <xml2rfc@ietfa.amsl.com>; Sun, 7 Jul 2019 11:57:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.198
X-Spam-Level:
X-Spam-Status: No, score=-4.198 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bHbj6eoBzd2B for <xml2rfc@ietfa.amsl.com>; Sun, 7 Jul 2019 11:57:12 -0700 (PDT)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6F9F8120071 for <xml2rfc@ietf.org>; Sun, 7 Jul 2019 11:57:12 -0700 (PDT)
Received: from [192.168.217.110] (p548DC676.dip0.t-ipconnect.de [84.141.198.118]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 45hd9f2D9xzybV; Sun, 7 Jul 2019 20:57:10 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <m2pnmlsqhh.wl-randy@psg.com>
Date: Sun, 07 Jul 2019 20:57:09 +0200
Cc: XML2RFC Interest Group <xml2rfc@ietf.org>
X-Mao-Original-Outgoing-Id: 584218627.934622-13617cb89aba64fe4132312d62366554
Content-Transfer-Encoding: quoted-printable
Message-Id: <77F6A44C-4405-42A9-9CF0-E9C86EF10F3C@tzi.org>
References: <m2v9wermlb.wl-randy@psg.com> <m2pnmlsqhh.wl-randy@psg.com>
To: Randy Bush <randy@psg.com>
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/UcRqF3xiX_wa98eOTEBQkVwfb6Q>
Subject: Re: [xml2rfc] url
X-BeenThere: xml2rfc@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <xml2rfc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/xml2rfc/>
List-Post: <mailto:xml2rfc@ietf.org>
List-Help: <mailto:xml2rfc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Jul 2019 18:57:16 -0000

On Jul 7, 2019, at 19:29, Randy Bush <randy@psg.com> wrote:
> 
>    hash = '-'+base64.urlsafe_b64encode(hashlib.sha1(query)) if query else ''

This must be a problem with the recent caching fixes in xml2rfc, it tries to base64-encode the query, but that isn’t a string…
I don’t have a problem with xml2rfc 2.22.2.

(The JUPITER bibxml generated from the DOI by xml2rfc.tools works.)

Grüße, Carsten

PS.: I still get the occasional 
requests.exceptions.ConnectionError: (‘Connection aborted.', BadStatusLine('No status line received - the server has closed the connection',))
Then I just retry…