all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chunyang Xu <xuchunyang.me@gmail.com>
To: Noam Postavsky <npostavs@users.sourceforge.net>
Cc: Alexis <flexibeast@gmail.com>, "Tao Fang" <fangtao0901@gmail.com>,
	23225@debbugs.gnu.org, "João Távora" <joaotavora@gmail.com>
Subject: bug#23225: 25.1.50; url-retrieve-synchronously having trouble with some https URLs
Date: Sat, 11 Jun 2016 20:54:31 +0800	[thread overview]
Message-ID: <CAHs_4imucNWOOMDefkB9UJ_WLEza9x-uou_oyXsY75SxeFNjzw@mail.gmail.com> (raw)
In-Reply-To: <CAM-tV--Grv6X91bqNQpif=7PzdZH28hONZst8Uo36uV+Za8gcg@mail.gmail.com>

On Sat, Jun 11, 2016 at 8:47 PM, Noam Postavsky
<npostavs@users.sourceforge.net> wrote:
> On Sat, Jun 11, 2016 at 12:00 AM, Chunyang Xu <xuchunyang.me@gmail.com> wrote:
>> I still have this problem on latest master branch, unlike this report,
>> ALL https urls I tried failed.
>
> Do you get any interesting error messages after applying Tao Fang's patch?

(display-buffer
 (url-retrieve-synchronously "https://example.com"))

Debugger entered--Lisp error: (error connection-failed "deleted
" :host "example.com" :service 443)
  signal(error (connection-failed "deleted\n" :host "example.com" :service 443))
  (progn (signal (car err) (cdr err)))
  (if (and err (not (eq (car (cdr err)) (quote http)))) (progn (signal
(car err) (cdr err))))
  (if (null asynch-buffer) nil (let ((proc (get-buffer-process
asynch-buffer))) (while (and (not retrieval-done) (or (not timeout) (<
(float-time (time-subtract ... start-time)) timeout))) (url-debug
(quote retrieval) "Spinning in url-retrieve-synchronously: %S (%S)"
retrieval-done asynch-buffer) (if (buffer-local-value (quote
url-redirect-buffer) asynch-buffer) (setq proc (get-buffer-process
(setq asynch-buffer (buffer-local-value ... asynch-buffer)))) (if (and
proc (memq (process-status proc) (quote ...)) (eq proc (or ... proc)))
(progn (delete-process proc) (setq retrieval-done t))) (if (or
(condition-case nil (let ... ...) (quit ... ...)) (null proc)) nil (if
quit-flag (progn (delete-process proc))) (setq proc (and (not
quit-flag) (get-buffer-process asynch-buffer))))))) (if (and err (not
(eq (car (cdr err)) (quote http)))) (progn (signal (car err) (cdr
err)))) asynch-buffer)
  (let ((retrieval-done nil) (start-time (current-time))
(asynch-buffer nil) err) (setq asynch-buffer (url-retrieve url
(function (lambda (status &rest ignored) (url-debug (quote retrieval)
"Synchronous fetching done (%S)" (current-buffer)) (setq
retrieval-done t asynch-buffer (current-buffer) err (plist-get status
:error)))) nil silent inhibit-cookies)) (if (null asynch-buffer) nil
(let ((proc (get-buffer-process asynch-buffer))) (while (and (not
retrieval-done) (or (not timeout) (< (float-time ...) timeout)))
(url-debug (quote retrieval) "Spinning in url-retrieve-synchronously:
%S (%S)" retrieval-done asynch-buffer) (if (buffer-local-value (quote
url-redirect-buffer) asynch-buffer) (setq proc (get-buffer-process
(setq asynch-buffer ...))) (if (and proc (memq ... ...) (eq proc ...))
(progn (delete-process proc) (setq retrieval-done t))) (if (or
(condition-case nil ... ...) (null proc)) nil (if quit-flag (progn
...)) (setq proc (and ... ...)))))) (if (and err (not (eq (car (cdr
err)) (quote http)))) (progn (signal (car err) (cdr err))))
asynch-buffer))
  url-retrieve-synchronously("https://example.com")
  (display-buffer (url-retrieve-synchronously "https://example.com"))
  eval((display-buffer (url-retrieve-synchronously "https://example.com")) nil)
  elisp--eval-last-sexp(nil)
  eval-last-sexp(nil)
  funcall-interactively(eval-last-sexp nil)
  call-interactively(eval-last-sexp nil nil)
  command-execute(eval-last-sexp)


> http://debbugs.gnu.org/cgi/bugreport.cgi?filename=0001-url-retrieve-synchronously-signal-error-when-fail.patch;bug=23225;att=1;msg=11





  reply	other threads:[~2016-06-11 12:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-05 18:30 bug#23225: 25.1.50; url-retrieve-synchronously having trouble with some https URLs João Távora
2016-04-10 23:45 ` Alexis
2016-06-04 16:17 ` Tao Fang
2016-06-04 16:23 ` Noam Postavsky
2016-06-11  4:00   ` Chunyang Xu
2016-06-11 12:47     ` Noam Postavsky
2016-06-11 12:54       ` Chunyang Xu [this message]
2016-06-11 13:36         ` Noam Postavsky
2016-06-11 13:59           ` Chunyang Xu
2016-07-30 16:44             ` Tao Fang
2016-08-06 23:56               ` Tao Fang
2016-08-09 12:57                 ` Noam Postavsky

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=CAHs_4imucNWOOMDefkB9UJ_WLEza9x-uou_oyXsY75SxeFNjzw@mail.gmail.com \
    --to=xuchunyang.me@gmail.com \
    --cc=23225@debbugs.gnu.org \
    --cc=fangtao0901@gmail.com \
    --cc=flexibeast@gmail.com \
    --cc=joaotavora@gmail.com \
    --cc=npostavs@users.sourceforge.net \
    /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.