From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.help Subject: Re: EWW problems with SNI https sites? Date: Mon, 15 Jul 2019 12:28:52 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="111559"; mail-complaints-to="usenet@blaine.gmane.org" Cc: help-gnu-emacs@gnu.org To: Hideki Saito Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 15 12:29:05 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hmyEC-000StW-5V for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Jul 2019 12:29:04 +0200 Original-Received: from localhost ([::1]:36718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmyEB-0005DV-70 for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Jul 2019 06:29:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36255) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmyE7-0005DD-IL for help-gnu-emacs@gnu.org; Mon, 15 Jul 2019 06:29:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hmyE5-0002dU-4f for help-gnu-emacs@gnu.org; Mon, 15 Jul 2019 06:28:59 -0400 Original-Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:41813) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hmyE4-0002cm-PB for help-gnu-emacs@gnu.org; Mon, 15 Jul 2019 06:28:56 -0400 Original-Received: by mail-wr1-x435.google.com with SMTP id c2so13284910wrm.8 for ; Mon, 15 Jul 2019 03:28:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version; bh=6TxwQE6FBtPU0scGCH8/1KvEaTe8DmWIngRiyVFvU8I=; b=fz1rXpe9BRrzn2X15PnHebR3UrZov0sZVCOt+W8PlkeTR7IDmxBIu6IL6JhZf+Tg94 gKkHgYSugC8y/4lTTSsx1jkWt80OZbI/QDvWD70DJwZVtnYMgaevO5/S+3AncEtIf1oS MVquKpr9cYIkt/bHSn8LY0QyKBr0j2PV5XfPP6cg8/AFw4/pXKY6AML0ZU07VpMubtKz ahkYJOwNmfHd9dLEtgUhfXUohLslr0kWs0O7/lkw+YAZsOnLYPNjtzS38/a0kUOaru8T oLoyk7UP3y2BlbdtnLutVD05fOpFoGpQ9fNhKffFpDyARcaz8i/DvBgzcT5A+9e3+BDK xi4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=6TxwQE6FBtPU0scGCH8/1KvEaTe8DmWIngRiyVFvU8I=; b=M0Y22RrdualWYKH608AsGFML4QmXZ1qsVll6VL6aFKLurfVDhudEK/X6CsP22UGhb3 05AUZhDYWohBdxtTB4BhblHdWjUUZn18p1uYqKgcTZ/BDtlyu0d6tCqL+HlVu5G73Kb6 QI+S9eqzGCctiYNj8+WNEGrgVDrlU/ceMNKDbh7imSkP+uyvxxjssAP9KamSCpCy5wUN +DBgTBmUW+2dKh+E9JHQFOegz9FoSbaf5X5UzqRPMZ6wO4XJwq6kKuiMoA06dZcP5vuX 6gcWCcg3FUkNkSYoV10x2FB9OZMnU4tv3OcIoD26fmlPWkZn27/Vn+DtwqS4QXUQnNnE xX3Q== X-Gm-Message-State: APjAAAXlrSXVuzVwa+Ip5HEo7EMy6b0fnsq6BJOtFQwoYQLkz4+mB75C vGRG2y4SORmIx+FtK8Na4sGmcXUm X-Google-Smtp-Source: APXvYqza4WWtfLBYi2wZ0Zd/6GQBVyQLkfmnYUoCvRM6XH3qd6l+II56xybpalJLp5wyT78x63uohA== X-Received: by 2002:adf:a299:: with SMTP id s25mr21122676wra.74.1563186534262; Mon, 15 Jul 2019 03:28:54 -0700 (PDT) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id v23sm14305931wmj.32.2019.07.15.03.28.53 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 15 Jul 2019 03:28:53 -0700 (PDT) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: (Hideki Saito's message of "Sat, 13 Jul 2019 22:24:40 -0700") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::435 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:121173 Archived-At: >>>>> On Sat, 13 Jul 2019 22:24:40 -0700, Hideki Saito said: Hideki> I think I've figured out pattern, although I'm not still sure what's going Hideki> on. Hideki> This probably is not really related with SNI, but related to IPv6 -- Hideki> perhaps there's some incompatibility with the way Windows IPv6 stack Hideki> handles thing; if I disable IPv6, I'm not seeing this is happening. (And Hideki> this seems to be Windows specific issue as this does not happen on Linux on Hideki> the same network.) Hideki> For the same reason, other places like https://wikipedia.org also fails. Hideki> (Where it resolves to IPv6.) Hideki> Anyone encountering similar issue and any workaround? (Unfortunately I Hideki> can't really disable IPv6 as I'm relying certain things for it. Wondering Hideki> if there's a way to disable IPv6 just for Emacs...) Based on your original report of the error message "The plain HTTP request was sent to HTTPS port", this is an issue Emacs has with falling back from IP address A + TLS to IP address B + TLS, which tends to manifest itself when the DNS response for a host returns an IPv6 address, but that address is not actually reachable over IPv6. I have a potential fix which I can send you as a patch, assuming you can rebuild emacs. Robert