From: Derek Zhou <derek@3qin.us>
To: Robert Pluim <rpluim@gmail.com>
Cc: 40665@debbugs.gnu.org
Subject: bug#40665: 28.0.50; tls hang on local ssl
Date: Thu, 16 Apr 2020 18:22:10 +0000 (UTC) [thread overview]
Message-ID: <86imhz5m0f.fsf@mail.3qin.us> (raw)
In-Reply-To: <m24ktjienb.fsf@gmail.com>
Robert Pluim writes:
>>>>>> On Thu, 16 Apr 2020 14:06:30 +0000 (UTC), Derek Zhou <derek@3qin.us> said:
>
> Derek> I have a vps that have ssl cert from let's encrypt. If I run emacs on
> Derek> that machine and use eww to open the local url through proper DNS name,
> Derek> it hangs. This only happen with gnutls 3.6+ I believe. w3m works.
>
> w3m uses OpenSSL rather than GnuTLS, I think.
True, however, wget works, which use gnutls.
>
> Derek> recipe:
> Derek> emacs -q
> Derek> M-x eww
> Derek> https://u15789687.ct.sendgrid.net/ls/click?upn=5u6PACFCQRlPqbnHSU4z2Xlc-2BdngjKawFESXJ7OrOF8M0VhErToh587OqGs4rdXCYpHS-2BTJCwQlyeoYpCGakF7HeU0y-2ByPTUfBl7m1gchyt8f9DppJ79-2BiI84YXNxbHvWRJyYFbi8O0HbKvvdS1ddux3ZjncA02WH4UyER8c34I-2BD7sN4tF1vdNkjAh9119T1Vnevpw0iFcIaCldIwi3pFMJra8DmFvLPm-2FF8zihX-2Bst0h8NJYZr3qoni6nP4cpeyRUK7caO86OxFnwGl-2FDd-2BC2aJe2MQ3-2BUedR5rO98PGM2qC9CmZpHC6LeditpbEMg30SLXsj-2B-2F7LCBhBfjmHD0OLTr-2BHtEiIkdcnftf1TZuxGU-2FLZzlzKMdeUjJElVAwbHa6NnmjFvW6U1NyGilkkC-2FutAlHDaF8hwDB5aRdmIV7VO9hYnp0sJL2jW76MLyjoD3UMd0cndm-2FfRdMPrnhiDAQlj-2F2atQr-2F0YiEMsOTdF034xF-2BsahDF55iuCkyKFQEQPKTIBSn6j76ME2zRj4-2BVw-3D-3D_U2j_S71vn-2BdJ969jmJsMZjcAVQ4Mbh84GRhJ0erfBn5ySXu1Uwk8oEkEaLtN1f5KRaKw1GkGOL1TU5kIB15t6oXeTDhu8J6Q7nTz-2FKhR7YJaupyvWQhgCTiCw1iDgSo5HtcOHBVcSQpRwOWOSozqTdtwd1p
CWcPFeLcdQ1RBNsisdkYedrggCQGsUES4VBHJOYw-2FYGjkvEi2iyte2vifaqFXX2XlbbjnToTO6WQMa2ynzhPCWiWpfoD2XIbEMU3FUeNA
Sorry, the crazy sendgrid munge links. it was mail.3qin.us
>
> Derek> This only happens when running on mail.3qin.us itself; from across the
> Derek> network it is ok. I believe it is timing related and worsen by very
> Derek> short network latency and small files.
>
> Which version exactly of GnuTLS are you running? Is it possible for
> you to do a local install of a newer version and try that with emacs?
I am using Debian 10, standard gnutls version
ii libgnutls-openssl27:amd64 3.6.7-4+deb10u2 amd64 GNU TLS library - OpenSSL wrapper
ii libgnutls28-dev:amd64 3.6.7-4+deb10u2 amd64 GNU TLS library - development files
I don't want to mess up system libraries; if there is a way to compile a
gnutls locally and link emacs with it statically, I can try.
>
> Otherwise, maybe turning off TLS1.3 will help:
>
> (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
>
Does not help.
> Another thing to try is setting 'gnutls-log-level' to progressively
> higher values, to see if it resolves the timing issues.
1 or 2 will give me more informational prints; with or without the
following; but always hang. 3 does not seem to have any effect.
gnutls.c: [1] (Emacs) non-fatal error: Resource temporarily unavailable,
try again.
I've tried 26.3, latest git (28.0.??) latest emacs-27 (27.0.9?) and they
all behave the same.
Derek
next prev parent reply other threads:[~2020-04-16 18:22 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-16 14:06 bug#40665: 28.0.50; tls hang on local ssl Derek Zhou
2020-04-16 16:22 ` Robert Pluim
2020-04-16 18:22 ` Derek Zhou [this message]
2020-04-16 20:47 ` Derek Zhou
2020-04-16 23:01 ` Derek Zhou
2020-04-17 18:41 ` Derek Zhou
2020-04-18 2:44 ` Derek Zhou
2020-04-19 14:34 ` Robert Pluim
2020-04-19 15:34 ` Derek Zhou
2020-04-19 16:12 ` Robert Pluim
2020-04-21 0:27 ` Derek Zhou
2020-04-21 1:41 ` Derek Zhou
2020-04-21 7:39 ` Robert Pluim
2020-04-21 13:37 ` Derek Zhou
2020-04-21 14:03 ` Robert Pluim
2020-04-21 14:45 ` Derek Zhou
2020-04-21 15:02 ` Derek Zhou
2020-04-21 15:04 ` Robert Pluim
2020-04-21 20:20 ` Derek Zhou
2020-04-21 22:20 ` Derek Zhou
2020-04-21 22:29 ` Derek Zhou
2020-04-22 8:32 ` Robert Pluim
2020-04-22 12:25 ` Derek Zhou
2020-04-22 13:12 ` Robert Pluim
2020-04-22 15:16 ` Derek Zhou
2020-04-22 16:14 ` Robert Pluim
2020-04-22 16:57 ` Derek Zhou
2020-04-23 2:20 ` Derek Zhou
2020-04-24 14:23 ` Derek Zhou via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-04-24 14:29 ` Robert Pluim
2020-05-07 19:08 ` Derek Zhou via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-07-31 23:22 ` Derek Zhou via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-08-02 5:34 ` Lars Ingebrigtsen
2020-08-03 5:58 ` Lars Ingebrigtsen
2020-08-03 9:44 ` Robert Pluim
2020-08-03 13:57 ` Derek Zhou via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-08-03 16:03 ` Robert Pluim
2020-08-04 8:42 ` Lars Ingebrigtsen
2020-08-04 19:28 ` Derek Zhou via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-08-04 19:45 ` Lars Ingebrigtsen
2020-08-03 13:36 ` Derek Zhou via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-04-17 8:35 ` Robert Pluim
2020-04-18 2:46 ` Derek Zhou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86imhz5m0f.fsf@mail.3qin.us \
--to=derek@3qin.us \
--cc=40665@debbugs.gnu.org \
--cc=rpluim@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).