From: "Peter Münster" <pmlists@free.fr>
To: emacs-devel@gnu.org
Subject: gnutls-error
Date: Sun, 16 Mar 2014 10:45:52 +0100 [thread overview]
Message-ID: <87mwgqh3xr.fsf@micropit.couberia.selfip.net> (raw)
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
next reply other threads:[~2014-03-16 9:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-16 9:45 Peter Münster [this message]
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
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mwgqh3xr.fsf@micropit.couberia.selfip.net \
--to=pmlists@free.fr \
--cc=emacs-devel@gnu.org \
/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 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.