all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* gnutls-error
@ 2014-03-13 14:11 Peter Münster
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Münster @ 2014-03-13 14:11 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

With the latest bzr-version (revno 116751), `url-retrieve-synchronously'
terminates with a gnutls-error.

After this command:
(url-retrieve-synchronously "https://btc-e.com/api/2/btc_eur/ticker")

I get this output:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (gnutls-error #<process btc-e.com> -19)
  signal(gnutls-error (#<process btc-e.com> -19))
  gnutls-negotiate(:process #<process btc-e.com> :type gnutls-x509pki :hostname "btc-e.com")
  open-gnutls-stream("btc-e.com" #<buffer  *url-http-temp*> "btc-e.com" 443)
  network-stream-open-tls("btc-e.com" #<buffer  *url-http-temp*> "btc-e.com" 443 (:type tls :nowait t))
  open-network-stream("btc-e.com" #<buffer  *url-http-temp*> "btc-e.com" 443 :type tls :nowait t)
  byte-code("\306\211.\x19\n\307>\203$.\n\310=\203.




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

* gnutls-error
@ 2014-03-16  9:45 Peter Münster
  2014-03-17 20:59 ` gnutls-error Ted Zlatanov
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Münster @ 2014-03-16  9:45 UTC (permalink / raw)
  To: emacs-devel

Hi,

With the latest bzr-version (revno 116774), `url-retrieve-synchronously'
terminates with a gnutls-error:

--8<---------------cut here---------------start------------->8---
Contacting host: btc-e.com:443
gnutls.c: [0] (Emacs) fatal error: An unexpected TLS handshake packet was received.
gnutls.el: (err=[-19] An unexpected TLS handshake packet was received.) boot: (:priority NORMAL :hostname btc-e.com :loglevel 0 :min-prime-bits 256 :trustfiles (/etc/ssl/ca-bundle.pem) :crlfiles nil :keylist nil :verify-flags nil :verify-error nil :callbacks nil)
Entering debugger...
--8<---------------cut here---------------end--------------->8---

This is the test-command:
(url-retrieve-synchronously "https://btc-e.com/api/2/btc_eur/ticker")

And here the backtrace:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (gnutls-error #<process btc-e.com> -19)
  signal(gnutls-error (#<process btc-e.com> -19))
  gnutls-negotiate(:process #<process btc-e.com> :type gnutls-x509pki :hostname "btc-e.com")
  open-gnutls-stream("btc-e.com" #<buffer  *url-http-temp*> "btc-e.com" 443)
  network-stream-open-tls("btc-e.com" #<buffer  *url-http-temp*> "btc-e.com" 443 (:type tls :nowait t))
  open-network-stream("btc-e.com" #<buffer  *url-http-temp*> "btc-e.com" 443 :type tls :nowait t)
  byte-code("\306\211\n\307>\203$\n\310=\203\311\312
\313\n\314\315\316\317\"\202Y\n\320=\2034\321       \f
$\202Y\n\322=\203D\323                       \f
$\202Y\n\324=\203T\325\f
$\202Y\326\327\"*\306\207" [coding-system-for-write coding-system-for-read gw-method name buffer host binary (tls ssl native) native plain open-network-stream :type :nowait featurep make-network-process (:nowait t) socks socks-open-network-stream telnet url-open-telnet rlogin url-open-rlogin error "Bad setting of url-gateway-method: %s" service url-gateway-method conn] 11)
  url-open-stream("btc-e.com" #<buffer  *url-http-temp*> "btc-e.com" 443)
  url-http-find-free-connection("btc-e.com" 443)
  url-http([cl-struct-url "https" nil nil "btc-e.com" nil "/api/2/btc_eur/ticker" nil nil t nil t] #[128 "\302\303\304p#\210\300\305\240\210\301p\240\207" [(nil) (nil) url-debug retrieval "Synchronous fetching done (%S)" t] 5 "\n\n(fn &rest IGNORED)"] (nil))
  url-https([cl-struct-url "https" nil nil "btc-e.com" nil "/api/2/btc_eur/ticker" nil nil t nil t] #[128 "\302\303\304p#\210\300\305\240\210\301p\240\207" [(nil) (nil) url-debug retrieval "Synchronous fetching done (%S)" t] 5 "\n\n(fn &rest IGNORED)"] (nil))
  url-retrieve-internal("https://btc-e.com/api/2/btc_eur/ticker" #[128 "\302\303\304p#\210\300\305\240\210\301p\240\207" [(nil) (nil) url-debug retrieval "Synchronous fetching done (%S)" t] 5 "\n\n(fn &rest IGNORED)"] (nil) nil nil)
  url-retrieve("https://btc-e.com/api/2/btc_eur/ticker" #[128 "\302\303\304p#\210\300\305\240\210\301p\240\207" [(nil) (nil) url-debug retrieval "Synchronous fetching done (%S)" t] 5 "\n\n(fn &rest IGNORED)"] nil nil nil)
  url-retrieve-synchronously("https://btc-e.com/api/2/btc_eur/ticker")
  eval((url-retrieve-synchronously "https://btc-e.com/api/2/btc_eur/ticker") nil)
  eval-expression((url-retrieve-synchronously "https://btc-e.com/api/2/btc_eur/ticker") nil)
  call-interactively(eval-expression nil nil)
  command-execute(eval-expression)
--8<---------------cut here---------------end--------------->8---


How could I solve this problem please?

TIA for any hints,
-- 
           Peter




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

* Re: gnutls-error
  2014-03-16  9:45 gnutls-error Peter Münster
@ 2014-03-17 20:59 ` Ted Zlatanov
  2014-03-18  0:08   ` gnutls-error Peter Münster
  0 siblings, 1 reply; 5+ messages in thread
From: Ted Zlatanov @ 2014-03-17 20:59 UTC (permalink / raw)
  To: emacs-devel

On Sun, 16 Mar 2014 10:45:52 +0100 Peter Münster <pmlists@free.fr> wrote: 

PM> With the latest bzr-version (revno 116774), `url-retrieve-synchronously'
PM> terminates with a gnutls-error:
PM> Contacting host: btc-e.com:443
PM> gnutls.c: [0] (Emacs) fatal error: An unexpected TLS handshake packet was received.
PM> gnutls.el: (err=[-19] An unexpected TLS handshake packet was received.) boot: (:priority NORMAL :hostname btc-e.com :loglevel 0 :min-prime-bits 256 :trustfiles (/etc/ssl/ca-bundle.pem) :crlfiles nil :keylist nil :verify-flags nil :verify-error nil :callbacks nil)
PM> Entering debugger...

PM> This is the test-command:
PM> (url-retrieve-synchronously "https://btc-e.com/api/2/btc_eur/ticker")

Hi Peter,

I can't duplicate the error.  Could I ask you to do `M-x
report-emacs-bug' and include the output of `gnutls-cli -v' and
`gnutls-cli https://btc-e.com/api/2/btc_eur/ticker'?  It would be very
helpful to direct bugs there instead of emacs-devel or gnu.emacs.help.

This specific host seems inaccessible to me, but maybe it's a transient
error.

Thanks
Ted




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

* Re: gnutls-error
  2014-03-17 20:59 ` gnutls-error Ted Zlatanov
@ 2014-03-18  0:08   ` Peter Münster
  2014-03-18 11:41     ` gnutls-error Ted Zlatanov
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Münster @ 2014-03-18  0:08 UTC (permalink / raw)
  To: emacs-devel

On Mon, Mar 17 2014, Ted Zlatanov wrote:

> Could I ask you to do `M-x report-emacs-bug' and include the output of
> `gnutls-cli -v'

Hi Ted,

Done.


> and `gnutls-cli https://btc-e.com/api/2/btc_eur/ticker'?

I guess, that this should be "gnutls-cli btc-e.com"?


> It would be very helpful to direct bugs there instead of emacs-devel
> or gnu.emacs.help.

Before reporting a bug, I wanted to be sure, that I wasn't missing
something obvious (missing library or something).
All right, next time I use report-emacs-bug as the first step.


> This specific host seems inaccessible to me, but maybe it's a transient
> error.

Probably. Firefox can get the page here.

Thanks for your efforts,
-- 
           Peter




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

* Re: gnutls-error
  2014-03-18  0:08   ` gnutls-error Peter Münster
@ 2014-03-18 11:41     ` Ted Zlatanov
  0 siblings, 0 replies; 5+ messages in thread
From: Ted Zlatanov @ 2014-03-18 11:41 UTC (permalink / raw)
  To: emacs-devel

On Tue, 18 Mar 2014 01:08:44 +0100 Peter Münster <pmlists@free.fr> wrote: 

PM> On Mon, Mar 17 2014, Ted Zlatanov wrote:

>> and `gnutls-cli https://btc-e.com/api/2/btc_eur/ticker'?

PM> I guess, that this should be "gnutls-cli btc-e.com"?

Right, sorry.  I was at work (a perpetual state, lately) and in a
hurry.  I meant that, plus
`curl -v https://btc-e.com/api/2/btc_eur/ticker' which (with OpenSSL)
can be a nice support statement of the problem, especially if it's a
GnuTLS-only problem.

I'll continue in the bug thread, but wanted to let you know I appreciate
your effort and will try to get this resolved.

Thanks for your patience
Ted




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

end of thread, other threads:[~2014-03-18 11:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-16  9:45 gnutls-error Peter Münster
2014-03-17 20:59 ` gnutls-error Ted Zlatanov
2014-03-18  0:08   ` gnutls-error Peter Münster
2014-03-18 11:41     ` gnutls-error Ted Zlatanov
  -- strict thread matches above, loose matches on Subject: below --
2014-03-13 14:11 gnutls-error Peter Münster

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.