From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Nicolas Graner Newsgroups: gmane.emacs.help Subject: url-retrieve fails on most HTTPS sites Date: Mon, 28 Sep 2020 22:41:02 +0200 Message-ID: <87sgb1my75.fsf@hypra-graner> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14615"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 28 22:41:46 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kMzxy-0003ez-Ma for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 28 Sep 2020 22:41:46 +0200 Original-Received: from localhost ([::1]:59118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kMzxx-0004JD-Mc for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 28 Sep 2020 16:41:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43978) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMzxN-0004J0-8Z for help-gnu-emacs@gnu.org; Mon, 28 Sep 2020 16:41:09 -0400 Original-Received: from smtp26.services.sfr.fr ([93.17.128.207]:17133) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMzxK-0003Kw-4y for help-gnu-emacs@gnu.org; Mon, 28 Sep 2020 16:41:08 -0400 Original-Received: from hypra-graner (37.124.67.86.rev.sfr.net [86.67.124.37]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by msfrf2628.sfr.fr (SMTP Server) with ESMTPS id 3FDC81C00080D for ; Mon, 28 Sep 2020 22:41:03 +0200 (CEST) X-mail-filterd: 1.0.0 X-sfr-mailing: LEGIT X-sfr-spamrating: 40 X-sfr-spam: not-spam DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=graner.name; s=202006; t=1601325663; h=From:To:Subject:Date; bh=uAA44jk0mm9vI4ImxawvPdr8SmSg0/Yb8Zi 88wn2Mq4=; b=IWj2uUR/QXqrsMlqkMvuSQq9JGd/zgXeyQNMawXGx2GUE58kBCPTZZ7JAlF5PVG cCXscopvUJsKrYuRqH4PC/GUbWcWW8EhgZjeGGSmQHwiAfuH13Jo5zi6Op4/BhyURKZYoLAtw/0J 6eoDg7DuG20ap8H7dvAnOINcQjA7JHSTF2K5DHFY7yeS4Q1fk9csfBSc0dcJaZvYshfpQHVWtVu7 AQuQ6SgDLp6kDoi3aA4W1q/x4BLb8zoA0acAJql+Z/y1qzo83IvsDLZxvbR/qhyEa34farwftPXX OmxZrz7i72f0W+AGOUug6fFc3ACAzHOQoRmsWybwkzjxJkqvthQ==; Original-Received: from hypra-graner (37.124.67.86.rev.sfr.net [86.67.124.37]) by msfrf2628.sfr.fr (SMTP Server) with ESMTP id 260301C000405 for ; Mon, 28 Sep 2020 22:41:03 +0200 (CEST) Original-Received: from hypra-graner (37.124.67.86.rev.sfr.net [86.67.124.37]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by msfrf2628.sfr.fr (SMTP Server) with ESMTPS for ; Mon, 28 Sep 2020 22:41:02 +0200 (CEST) Received-SPF: pass client-ip=93.17.128.207; envelope-from=nicolas.graner@sfr.fr; helo=smtp26.services.sfr.fr X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/28 16:41:03 X-ACL-Warn: Detected OS = Linux 3.x [generic] [fuzzy] X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.199, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:124184 Archived-At: Hello all, using 26.1 on Debian, I try to open various web pages with url-retrieve. It works with all HTTP and some HTTPS connections, but fails with most HTTPS. For instance with Wikipedia: (switch-to-buffer (url-retrieve "https://wikipedia.org/" '(lambda (&rest = ignore)))) The buffer that shows up is empty. Tracing url-http-async-sentinel gives: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 1 -> (url-http-async-sentinel # "open ") 1 <- url-http-async-sentinel: nil =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 1 -> (url-http-async-sentinel # "connection broken b= y remote peer ") 1 <- url-http-async-sentinel: nil In contrast, The Conversation is OK: (switch-to-buffer (url-retrieve "https://theconversation.com/fr/" '(lambd= a (&rest ignore)))) works fine, the buffer contains HTTP headers followed by =C3=A0 HTML page. I don't use a proxy. The result is the same whether url-privacy-level is 'none or 'paranoid. Any suggestions as to what could make some sites close the connection, or how I could find out more? Thanx for your help. Nicolas