unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21145: 24.4; package update gives tls errors
@ 2015-07-28  2:59 Rustom Mody
  2015-07-28 10:12 ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: Rustom Mody @ 2015-07-28  2:59 UTC (permalink / raw)
  To: 21145

Start emacs with -Q
Run (package-initialize)
Run (add-to-list 'package-archives
             '("marmalade" . "https://marmalade-repo.org/packages/") t)
Run M-x package-list-packages

Get error
gnutls.c: [0] (Emacs) fatal error: The TLS connection was non-properly
terminated.

Some info from ldconfig -v|grep libgnutls

    libgnutls-deb0.so.28 -> libgnutls-deb0.so.28.41.0
/sbin/ldconfig.real: /lib/x86_64-linux-gnu/ld-2.21.so is the dynamic
linker, ignoring

    libgnutls-openssl.so.27 -> libgnutls-openssl.so.27.0.2
    libgnutls-deb0.so.28 -> libgnutls-deb0.so.28.41.0


Above is ubuntu 15.4 with emacs 24.4.1
With ubuntu 14.10 with emacs 24.3.1 error (warning) is
gnutls.c: [1] Note that the security level of the Diffie-Hellman key exchange
has been lowered to 256 bits and this may allow decryption of the session data





In GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.9)
 of 2015-03-21 on kissel, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11701000
System Description:    Ubuntu 15.04

Configured using:
 `configure --build x86_64-linux-gnu --prefix=/usr
 --sharedstatedir=/var/lib --libexecdir=/usr/lib
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp
 --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib
 --libexecdir=/usr/lib --localstatedir=/var/lib
 --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp
 --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars
 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat
 -Werror=format-security -Wall' CPPFLAGS=-D_FORTIFY_SOURCE=2
 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro''

Important settings:
  value of $LC_MONETARY: en_US.UTF-8
  value of $LC_NUMERIC: en_US.UTF-8
  value of $LC_TIME: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x p a c k a <tab> i n <tab> i <tab> <return> C-y
<escape> C-x M-x p a c k a g e - l i <tab> <return>
q <return> <return> M-x e m a c s - r e <tab> <backspace>
<backspace> <tab> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> C-g C-h a r e p
o r <tab> <backspace> t <return> M-x r e p o r t <tab>
<return>

Recent messages:
Making completion list...
Mark set
(("gnu" . "http://elpa.gnu.org/packages/") ("marmalade" .
"https://marmalade-repo.org/packages/"))
Importing package-keyring.gpg...done
Contacting host: elpa.gnu.org:80 [2 times]
Contacting host: marmalade-repo.org:443
gnutls.c: [0] (Emacs) fatal error: The TLS connection was non-properly
terminated.
Making completion list...
Quit
Type C-x 1 to remove help window.

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug sendmail apropos mule-util gnutls
cl-loaddefs cl-lib mm-archive message format-spec rfc822 mml mml-sec
mailabbrev gmm-utils mailheader mm-decode mm-bodies mm-encode mail-utils
network-stream starttls url-http tls mail-parse rfc2231 rfc2047 rfc2045
ietf-drums url-gw url-cache url-auth url url-proxy url-privacy
url-expand url-methods url-history url-cookie url-domsuf url-util
mailcap url-handlers url-parse auth-source eieio byte-opt bytecomp
byte-compile cconv eieio-core gnus-util mm-util help-fns mail-prsvr
password-cache url-vars epg finder-inf package epg-config help-mode
easymenu time-date tooltip electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
gfilenotify dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty emacs)

Memory information:
((conses 16 324324 23103)
 (symbols 48 22183 0)
 (miscs 40 171 179)
 (strings 32 35720 4363)
 (string-bytes 1 874288)
 (vectors 16 15615)
 (vector-slots 8 447450 19202)
 (floats 8 78 413)
 (intervals 56 35370 375)
 (buffers 960 14)
 (heap 1024 50759 1322))





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21145: 24.4; package update gives tls errors
  2015-07-28  2:59 bug#21145: 24.4; package update gives tls errors Rustom Mody
@ 2015-07-28 10:12 ` Eli Zaretskii
  2015-07-28 11:21   ` Rustom Mody
  0 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2015-07-28 10:12 UTC (permalink / raw)
  To: Rustom Mody; +Cc: 21145

> From: Rustom Mody <rustompmody@gmail.com>
> Date: Tue, 28 Jul 2015 08:29:56 +0530
> 
> Start emacs with -Q
> Run (package-initialize)
> Run (add-to-list 'package-archives
>              '("marmalade" . "https://marmalade-repo.org/packages/") t)
> Run M-x package-list-packages
> 
> Get error
> gnutls.c: [0] (Emacs) fatal error: The TLS connection was non-properly
> terminated.
> 
> Some info from ldconfig -v|grep libgnutls
> 
>     libgnutls-deb0.so.28 -> libgnutls-deb0.so.28.41.0
> /sbin/ldconfig.real: /lib/x86_64-linux-gnu/ld-2.21.so is the dynamic
> linker, ignoring
> 
>     libgnutls-openssl.so.27 -> libgnutls-openssl.so.27.0.2
>     libgnutls-deb0.so.28 -> libgnutls-deb0.so.28.41.0

I cannot reproduce this on my system (not on Ubuntu) with the same
version of GnuTLS.  I get a listing of packages, including those from
marmalade, as expected.

I suspect some problem specific to your site or Internet connection,
or perhaps some Ubuntu-specific issue.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21145: 24.4; package update gives tls errors
  2015-07-28 10:12 ` Eli Zaretskii
@ 2015-07-28 11:21   ` Rustom Mody
  2015-07-28 11:38     ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: Rustom Mody @ 2015-07-28 11:21 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 21145

On Tue, Jul 28, 2015 at 3:42 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Rustom Mody <rustompmody@gmail.com>
>> Date: Tue, 28 Jul 2015 08:29:56 +0530
>>
>> Start emacs with -Q
>> Run (package-initialize)
>> Run (add-to-list 'package-archives
>>              '("marmalade" . "https://marmalade-repo.org/packages/") t)
>> Run M-x package-list-packages
>>
>> Get error
>> gnutls.c: [0] (Emacs) fatal error: The TLS connection was non-properly
>> terminated.
>>
>> Some info from ldconfig -v|grep libgnutls
>>
>>     libgnutls-deb0.so.28 -> libgnutls-deb0.so.28.41.0
>> /sbin/ldconfig.real: /lib/x86_64-linux-gnu/ld-2.21.so is the dynamic
>> linker, ignoring
>>
>>     libgnutls-openssl.so.27 -> libgnutls-openssl.so.27.0.2
>>     libgnutls-deb0.so.28 -> libgnutls-deb0.so.28.41.0
>
> I cannot reproduce this on my system (not on Ubuntu) with the same
> version of GnuTLS.  I get a listing of packages, including those from
> marmalade, as expected.

I also get the listing (from marmalade)
>
> I suspect some problem specific to your site or Internet connection,
> or perhaps some Ubuntu-specific issue.

Well its a well-known problem
see https://github.com/nicferrier/elmarmalade/issues/55
Also bug 16253 http://lists.gnu.org/archive/html/bug-gnu-emacs/2014-01/msg00358.html

Was just informing that it continues to exist


-- 
http://www.the-magus.in
http://blog.languager.org





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21145: 24.4; package update gives tls errors
  2015-07-28 11:21   ` Rustom Mody
@ 2015-07-28 11:38     ` Eli Zaretskii
  2015-07-28 13:15       ` Artur Malabarba
  0 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2015-07-28 11:38 UTC (permalink / raw)
  To: Rustom Mody; +Cc: 21145

> From: Rustom Mody <rustompmody@gmail.com>
> Date: Tue, 28 Jul 2015 16:51:16 +0530
> Cc: 21145@debbugs.gnu.org
> 
> On Tue, Jul 28, 2015 at 3:42 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> >> From: Rustom Mody <rustompmody@gmail.com>
> >> Date: Tue, 28 Jul 2015 08:29:56 +0530
> >>
> >> Start emacs with -Q
> >> Run (package-initialize)
> >> Run (add-to-list 'package-archives
> >>              '("marmalade" . "https://marmalade-repo.org/packages/") t)
> >> Run M-x package-list-packages
> >>
> >> Get error
> >> gnutls.c: [0] (Emacs) fatal error: The TLS connection was non-properly
> >> terminated.
> >>
> >> Some info from ldconfig -v|grep libgnutls
> >>
> >>     libgnutls-deb0.so.28 -> libgnutls-deb0.so.28.41.0
> >> /sbin/ldconfig.real: /lib/x86_64-linux-gnu/ld-2.21.so is the dynamic
> >> linker, ignoring
> >>
> >>     libgnutls-openssl.so.27 -> libgnutls-openssl.so.27.0.2
> >>     libgnutls-deb0.so.28 -> libgnutls-deb0.so.28.41.0
> >
> > I cannot reproduce this on my system (not on Ubuntu) with the same
> > version of GnuTLS.  I get a listing of packages, including those from
> > marmalade, as expected.
> 
> I also get the listing (from marmalade)

But I see no error message in *Messages*, so what you report is not
reproducible here.  This is GnuTLS 3.3.11, btw.

> > I suspect some problem specific to your site or Internet connection,
> > or perhaps some Ubuntu-specific issue.
> 
> Well its a well-known problem
> see https://github.com/nicferrier/elmarmalade/issues/55
> Also bug 16253 http://lists.gnu.org/archive/html/bug-gnu-emacs/2014-01/msg00358.html
> 
> Was just informing that it continues to exist

I don't see what we can do with this, and at least some of the
messages above say we should leave this alone, as it's not a bug in
Emacs.

Perhaps you should send this report to the GnuTLS list, and ask the
developers why GnuTLS considers this such a high priority message.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21145: 24.4; package update gives tls errors
  2015-07-28 11:38     ` Eli Zaretskii
@ 2015-07-28 13:15       ` Artur Malabarba
  2015-07-28 13:54         ` Rustom Mody
  2015-11-05 18:51         ` Ted Zlatanov
  0 siblings, 2 replies; 10+ messages in thread
From: Artur Malabarba @ 2015-07-28 13:15 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Rustom Mody, 21145

>> > I cannot reproduce this on my system (not on Ubuntu) with the same
>> > version of GnuTLS.  I get a listing of packages, including those from
>> > marmalade, as expected.

I can reproduce the message under different contexts at work. And I've
received numerous reports about that on another package of mine. My
uneducated guess is that it's something in GnuTLS, and not something
Emacs can solve.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21145: 24.4; package update gives tls errors
  2015-07-28 13:15       ` Artur Malabarba
@ 2015-07-28 13:54         ` Rustom Mody
  2015-07-28 15:34           ` Eli Zaretskii
  2015-11-05 18:51         ` Ted Zlatanov
  1 sibling, 1 reply; 10+ messages in thread
From: Rustom Mody @ 2015-07-28 13:54 UTC (permalink / raw)
  To: bruce.connor.am; +Cc: 21145

On Tue, Jul 28, 2015 at 6:45 PM, Artur Malabarba
<bruce.connor.am@gmail.com> wrote:
>>> > I cannot reproduce this on my system (not on Ubuntu) with the same
>>> > version of GnuTLS.  I get a listing of packages, including those from
>>> > marmalade, as expected.
>
> I can reproduce the message under different contexts at work. And I've
> received numerous reports about that on another package of mine. My
> uneducated guess is that it's something in GnuTLS, and not something
> Emacs can solve.


In the spirit of Artur's 'uneducated guess' I too found this described
all over with no solutions.
So my uneducated response was to inform that the problem seems to
remain and now closer to
emacs-core as package moves there.

If Eli feels that my reporting it to gnutls will help I'll try doing it;
but frankly Ive no frigging clue what gnutls is and think that its
*users* (viz emacs-devs)
should report.

Still...
If you (Eli) want me to report it I'll try doing so





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21145: 24.4; package update gives tls errors
  2015-07-28 13:54         ` Rustom Mody
@ 2015-07-28 15:34           ` Eli Zaretskii
  2015-07-28 17:08             ` Rustom Mody
  0 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2015-07-28 15:34 UTC (permalink / raw)
  To: Rustom Mody; +Cc: 21145, bruce.connor.am

> From: Rustom Mody <rustompmody@gmail.com>
> Date: Tue, 28 Jul 2015 19:24:53 +0530
> Cc: Eli Zaretskii <eliz@gnu.org>, 21145@debbugs.gnu.org
> 
> In the spirit of Artur's 'uneducated guess' I too found this described
> all over with no solutions.
> So my uneducated response was to inform that the problem seems to
> remain and now closer to
> emacs-core as package moves there.

GnuTLS is not part of Emacs.  If on your platform it is part of the
Emacs package, that is a decision of whoever packages Emacs on that
system.  Nevertheless, GnuTLS is a separate project developed outside
of Emacs; Emacs just uses it.

> If Eli feels that my reporting it to gnutls will help I'll try doing
> it; but frankly Ive no frigging clue what gnutls is and think that
> its *users* (viz emacs-devs) should report.

GnuTLS is a library, its home page is here:

  http://www.gnutls.org/

and its bug reporting address is bugs@gnutls.org.

> Still...
> If you (Eli) want me to report it I'll try doing so

Yes, please.  I cannot report a problem I can't reproduce, because I
will be unable to answer any questions GnuTLS developers might wish to
ask me.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21145: 24.4; package update gives tls errors
  2015-07-28 15:34           ` Eli Zaretskii
@ 2015-07-28 17:08             ` Rustom Mody
  0 siblings, 0 replies; 10+ messages in thread
From: Rustom Mody @ 2015-07-28 17:08 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 21145, bruce.connor.am

On Tue, Jul 28, 2015 at 9:04 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Rustom Mody <rustompmody@gmail.com>
>> Date: Tue, 28 Jul 2015 19:24:53 +0530
>> Cc: Eli Zaretskii <eliz@gnu.org>, 21145@debbugs.gnu.org
>>
>> In the spirit of Artur's 'uneducated guess' I too found this described
>> all over with no solutions.
>> So my uneducated response was to inform that the problem seems to
>> remain and now closer to
>> emacs-core as package moves there.
>
> GnuTLS is not part of Emacs.  If on your platform it is part of the
> Emacs package, that is a decision of whoever packages Emacs on that
> system.  Nevertheless, GnuTLS is a separate project developed outside
> of Emacs; Emacs just uses it.
>
>> If Eli feels that my reporting it to gnutls will help I'll try doing
>> it; but frankly Ive no frigging clue what gnutls is and think that
>> its *users* (viz emacs-devs) should report.
>
> GnuTLS is a library, its home page is here:
>
>   http://www.gnutls.org/
>
> and its bug reporting address is bugs@gnutls.org.
>
>> Still...
>> If you (Eli) want me to report it I'll try doing so
>
> Yes, please.  I cannot report a problem I can't reproduce, because I
> will be unable to answer any questions GnuTLS developers might wish to
> ask me.

Done.
Eli cced.
When (if) I get a bug number, I'll add it here


-- 
http://www.the-magus.in
http://blog.languager.org





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21145: 24.4; package update gives tls errors
  2015-07-28 13:15       ` Artur Malabarba
  2015-07-28 13:54         ` Rustom Mody
@ 2015-11-05 18:51         ` Ted Zlatanov
  2016-02-05  7:15           ` Lars Ingebrigtsen
  1 sibling, 1 reply; 10+ messages in thread
From: Ted Zlatanov @ 2015-11-05 18:51 UTC (permalink / raw)
  To: Artur Malabarba; +Cc: Rustom Mody, 21145

On Tue, 28 Jul 2015 14:15:48 +0100 Artur Malabarba <bruce.connor.am@gmail.com> wrote: 

>>> > I cannot reproduce this on my system (not on Ubuntu) with the same
>>> > version of GnuTLS.  I get a listing of packages, including those from
>>> > marmalade, as expected.

AM> I can reproduce the message under different contexts at work. And I've
AM> received numerous reports about that on another package of mine. My
AM> uneducated guess is that it's something in GnuTLS, and not something
AM> Emacs can solve.

There's an easy way to check: use the command-line `gnutls-cli' utility.

Ted






^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21145: 24.4; package update gives tls errors
  2015-11-05 18:51         ` Ted Zlatanov
@ 2016-02-05  7:15           ` Lars Ingebrigtsen
  0 siblings, 0 replies; 10+ messages in thread
From: Lars Ingebrigtsen @ 2016-02-05  7:15 UTC (permalink / raw)
  To: Artur Malabarba; +Cc: Rustom Mody, 21145

Ted Zlatanov <tzz@lifelogs.com> writes:

> On Tue, 28 Jul 2015 14:15:48 +0100 Artur Malabarba <bruce.connor.am@gmail.com> wrote: 
>
>>>> > I cannot reproduce this on my system (not on Ubuntu) with the same
>>>> > version of GnuTLS.  I get a listing of packages, including those from
>>>> > marmalade, as expected.
>
> AM> I can reproduce the message under different contexts at work. And I've
> AM> received numerous reports about that on another package of mine. My
> AM> uneducated guess is that it's something in GnuTLS, and not something
> AM> Emacs can solve.
>
> There's an easy way to check: use the command-line `gnutls-cli' utility.

More information was requested, but no response was given within a few
months, so I'm closing this bug report.  If the problem still exists,
please reopen this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-02-05  7:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-28  2:59 bug#21145: 24.4; package update gives tls errors Rustom Mody
2015-07-28 10:12 ` Eli Zaretskii
2015-07-28 11:21   ` Rustom Mody
2015-07-28 11:38     ` Eli Zaretskii
2015-07-28 13:15       ` Artur Malabarba
2015-07-28 13:54         ` Rustom Mody
2015-07-28 15:34           ` Eli Zaretskii
2015-07-28 17:08             ` Rustom Mody
2015-11-05 18:51         ` Ted Zlatanov
2016-02-05  7:15           ` Lars Ingebrigtsen

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).