FS#48810 - [emacs] TLS connection fails to elpa repository

Attached to Project: Arch Linux
Opened by Kasza Peter (mr.schyte) - Monday, 04 April 2016, 18:18 GMT
Last edited by Jürgen Hötzel (juergen) - Sunday, 05 June 2016, 07:24 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jürgen Hötzel (juergen)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Emacs cannot connect to elpa, (marmalade, melpa etc.)
repositories due to a gnutls error:

> Contacting host: elpa.gnu.org:443 [3 times]
> gnutls.c: [0] (Emacs) fatal error: The TLS connection was non-properly terminated.

Additional info:
* package version(s)

> % emacs -version | head -n1
> GNU Emacs 24.5.1

> % pacman -Q | grep emacs
> emacs 24.5-2

> % pacman -Q | grep gnutls
> gnutls 3.4.10-1

Steps to reproduce:

Enter the following into the scratch buffer and evaluate using M-x eval-buffer

> (setq package-archives '(("marmalade" . "https://marmalade-repo.org/packages/")))
> (package-refresh-contents)

Contacting host: elpa.gnu.org:443 [3 times]
gnutls.c: [0] (Emacs) fatal error: The TLS connection was non-properly terminated.

This task depends upon

Closed by  Jürgen Hötzel (juergen)
Sunday, 05 June 2016, 07:24 GMT
Reason for closing:  Works for me
Additional comments about closing:  Thanks for your feedback!
Comment by Jürgen Hötzel (juergen) - Sunday, 05 June 2016, 06:10 GMT
I can not reproduce this issue anymore. Can you confirm?
Comment by Kasza Peter (mr.schyte) - Sunday, 05 June 2016, 07:05 GMT
I confirm, it's working for me as well now. I think the gnutls update fixed it.

The marmalade repo still throws an error, but this is due to their bad ssl configuration.

Thanks!

Loading...