From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Kostas Zorbadelos Newsgroups: gmane.emacs.help Subject: Re: Emacs gnus (tls) IMAP connection problems with Google Date: Tue, 12 Feb 2019 21:57:12 +0200 Organization: No affiliation Message-ID: <87y36k6aqv.fsf@nixly.net> References: <97C6EF26-AA98-463F-96D6-B5CD8AA7A467@scratch.space> <87k1iqvw4f.fsf@nixly.net> Reply-To: kzorba@nixly.net Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="18291"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: Van L , Help Gnu Emacs mailing list To: Grant Rettke Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 12 21:02:20 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.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gteG2-0004bz-T2 for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Feb 2019 21:02:19 +0100 Original-Received: from localhost ([127.0.0.1]:45317 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gteG1-0004i4-OY for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Feb 2019 15:02:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gteBF-0000lG-EC for help-gnu-emacs@gnu.org; Tue, 12 Feb 2019 14:57:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gteBD-0004Wi-CZ for help-gnu-emacs@gnu.org; Tue, 12 Feb 2019 14:57:20 -0500 Original-Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]:54409) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gteBC-0004Tk-RG for help-gnu-emacs@gnu.org; Tue, 12 Feb 2019 14:57:19 -0500 Original-Received: by mail-wm1-x343.google.com with SMTP id a62so4388798wmh.4 for ; Tue, 12 Feb 2019 11:57:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nixly-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:organization:references:reply-to:date :in-reply-to:message-id:user-agent:mime-version; bh=RKikDTucCDZCWxlwDm6XAjvePBKqD/hjDxoYm62xB5s=; b=CkjBtU0rCQUnSYrBUJ/vQRMiVut/99dZ52IUUWkVfVL/SKz6WMjnM+HEl+DSpyv+39 InhsW3B+j7AGAYdAo7QjtCwjCs5YNMmfB2seV9r0FzMEZTfvq73D6JbBqF1s4IyAUtEe HbTx6wR0EPFa/zdpASGPQOUHMFUOlhUFn6eVGn/fH5BhoBQO35afbB1Gbtx89+EBSFcs m2JdRq4fu7+BHHdvzyOYZ2Z7/uA9OHWI9EiPmppPxw9lH+HE/Dqjygu6Vm4ev21nYS9u 3ym+xThiAAKJigcbLVnPwW3t4SNHFzkDbeZ3EQ7ysdByTa5sd9aFu+hJeq/Q6veZRd0y mwYQ== 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:organization:references :reply-to:date:in-reply-to:message-id:user-agent:mime-version; bh=RKikDTucCDZCWxlwDm6XAjvePBKqD/hjDxoYm62xB5s=; b=ls6pX4LHx6Mh/KyH261kVQVZrLsilOtvemc1rNSm0UV0MxQca8fxy5MKeO5ECskeAT w9srDBsAo0nRMJUrftxwmKDt1HVCeUzoh+58KzJ3yLSWg3BcKpozE9MhkIBSv+QGYKDS 4UxoNBHywezkqWB0pE43k7B6zRXrXlAHUqjiCPQ/lMukF/j5fydv3TRYDZAcphK11W0g 9hJfkeML+K4iIWVz8KwwX3WVtIFKG7sg8e+TFE/WAP4yeDux1eSDutXMubC0Vyo2U+EQ WrPa9YXLxaM0aZFMiK7pyUqRsnJyaf5VfjVX5LNGk4//NnPxey+EIpQEYHyGDFsb/Z/5 AabA== X-Gm-Message-State: AHQUAuZ1eC7i9B/4hW19+Z+gwzpmWyl2QuA8kkR1ylQM7VPKWW4yn6O4 NbFpIgesaPji1MIherzT/gnMVw== X-Google-Smtp-Source: AHgI3IbVkJAZIueczwrwOIG23PlJ6RknrsgD4RZysVZV/3e2zRleL1b/pFImTdSLcgZCq+kGu4kwwA== X-Received: by 2002:a7b:c396:: with SMTP id s22mr460229wmj.100.1550001436873; Tue, 12 Feb 2019 11:57:16 -0800 (PST) Original-Received: from nixly.net ([2a02:587:1118:d8db:5ee0:c5ff:fee3:376c]) by smtp.gmail.com with ESMTPSA id k2sm2727049wmj.45.2019.02.12.11.57.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Feb 2019 11:57:15 -0800 (PST) In-Reply-To: (Grant Rettke's message of "Sun, 10 Feb 2019 15:54:49 -0600") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::343 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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:119382 Archived-At: Thank you so much about this, works for me too. To be honest I got lazy since I found the workaround and didn't trace using wireshark. One question now is whether this is an issue with Google's IMAP tls 1.3 implementation or it's a gnutls issue. Best regards, Kostas On Sun, Feb 10 2019 at 03:54:49 PM, Grant Rettke wrote: > On Sun, Jan 27, 2019 at 11:39 AM Kostas Zorbadelos wrote: >> In my case, the problem is consistent. Hopefully someone could give a > > A few weeks ago I ran into a problem with TLS. The context was using > Org2Block. Org2Blog > runs in Emacs and talks to WordPress via XML-RPC over TLS. > > Short story of my solution is that I had to configure GnuTLS to > not-use TLSv1.3. Here is the explanation: > https://github.com/org2blog/org2blog/wiki/Debugging-Stories#inexplicably-cant-login-or-do-anything > . > > Here is the config, which you can only set up once, and now every tls > connection Emacs makes will use this config: > > (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") > > The long version is how I figured it out: > > https://github.com/org2blog/org2blog/wiki/Debugging#when-things-go-wrong-how-to-debug -- Kostas Zorbadelos