Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Spurious hangs with HTTP method #698

Closed
renard opened this Issue · 6 comments

5 participants

@renard

I have noticed that on a fresh install on new machine "sometimes" (it' hard to figure out when) the HTTP method got stuck until I click in a buffer (sounds crazy to me)

The message is (for example with the adoc recipe):

Contacting host: sensorflo-emacs.googlecode.com:80

When I click on the buffer the install process goes on.

By the way the github method does also hang with the HTTP protocol. Works fine with git.

PS: I noticed that with emacs daily builds on OSX.

@jleechpe

I also have been having issues with the github method using http (while not having any with git). However in my case I wasn't sure if it was being caused by the firewall at work since I don't really recall having the issue on my personal laptop when elsewhere.

However at least for github evaluating (setq el-get-github-default-url-type 'https) solves the issue.

@renard

Here are some backtrace I got:


Debugger entered--Lisp error: (error "Trying to parse HTTP response code in odd buffer:  *http elpa.gnu.org:80*")
  signal(error ("Trying to parse HTTP response code in odd buffer:  *http elpa.gnu.org:80*"))
  error("Trying to parse HTTP response code in odd buffer: %s" " *http elpa.gnu.org:80*")
  url-http-parse-response()
  package-handle-response()
  package--download-one-archive(("gnu" . "http://elpa.gnu.org/packages/") "archive-contents")
  #[nil "\301�\302\"\207" [archive package--download-one-archive "archive-contents"] 3]()
  package-refresh-contents()
  (if p nil (package-refresh-contents))
  (unless p (package-refresh-contents))

The buffer *http elpa.gnu.org:80* is empty.

@dimitri
Owner

It happened to me to, actually just moving the mouse pointer into an active Emacs frame allows the fetch to resume. I wouldn't know how to approach debugging that, and would be quite surprised if we're able to track that down to el-get itself, although that would be good news as we could actually deliver a fix.

@rosstimson

I encountered this issue long before I discovered el-get, it must be a more general problem with Emacs or package.el itself. I always end up frantically moving the mouse around to help it along.

@renard

Yep this also happens with magit.

Still don't know why :-(.

@agentgt

I can't install el-get at all because HTTP seems to hang on:

Contacting host: emacswiki.org:80

This is Ubuntu 11.10 with an early emacs 24. I'll have to try again later.

@dimitri dimitri closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.