From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roland Everaert Subject: Unable to access the org-mode ELPA repo Date: Fri, 4 Nov 2016 10:48:34 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c0c8b66e5d0910540769355 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2b71-0001Ho-NB for emacs-orgmode@gnu.org; Fri, 04 Nov 2016 05:48:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c2b70-0000qm-DI for emacs-orgmode@gnu.org; Fri, 04 Nov 2016 05:48:39 -0400 Received: from mail-lf0-x22f.google.com ([2a00:1450:4010:c07::22f]:35536) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c2b6z-0000oW-Su for emacs-orgmode@gnu.org; Fri, 04 Nov 2016 05:48:38 -0400 Received: by mail-lf0-x22f.google.com with SMTP id b14so59511096lfg.2 for ; Fri, 04 Nov 2016 02:48:36 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode --94eb2c0c8b66e5d0910540769355 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I am using emacs on a Windows 7 machine at work. I have decided, today, to switch to ELPA to install org-mode (or any other package), but I am totally unable to configure emacs properly to reach the repositories. I have the following errors when emacs starts or when I ask emacs to refresh the ELPA packages list: "You can run the command =E2=80=98package-list-packages=E2=80=99 with M-x p= a-l- RET Mark saved where search started error in process sentinel: Error retrieving: http://elpa.gnu.org/packages/archive-contents (error connection-failed "failed with code 10060 " :host "elpa.gnu.org" :service 80) error in process sentinel: Error retrieving: http://elpa.gnu.org/packages/archive-contents (error connection-failed "failed with code 10060 " :host "elpa.gnu.org" :service 80) Making completion list... Package refresh done error in process sentinel: Error retrieving: http://orgmode.org/elpa/archive-contents (error connection-failed "failed with code 10060 " :host "orgmode.org" :service 80) error in process sentinel: Error retrieving: http://orgmode.org/elpa/archive-contents (error connection-failed "failed with code 10060 " :host "orgmode.org" :service 80) read-number: Command attempted to use minibuffer while in minibuffer Contacting host: elpa.gnu.org:80 Failed to download =E2=80=98gnu=E2=80=99 archive. Contacting host: orgmode.org:80 Failed to download =E2=80=98org=E2=80=99 archive. You can run the command =E2=80=98package-refresh-contents=E2=80=99 with M-x= pa-r- RET Failed to download =E2=80=98org=E2=80=99 archive." Below is the configuration at the beginning of my .emacs init file: "(eval-after-load "url" '(progn (require 'w32-registry) (defadvice url-retrieve (before w32-set-proxy-dynamically activate) "Before retrieving a URL, query the IE Proxy settings, and use them.= " (let ((proxy (w32reg-get-ie-proxy-config))) (setq url-using-proxy proxy url-proxy-services proxy))))) (require 'package) (add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/") t) ;; Added by Package.el. This must come before configurations of ;; installed packages. Don't delete this line. If you don't want it, ;; just comment it out by adding a semicolon to the start of the line. ;; You may delete these explanatory comments. (package-initialize)" As you can see in the error messages, the problem appears even with the gnu archive. I suspect a proxy settings issue, but I don't know how to diagnose the problem and find the solution. Any help appreciated, Roland. --94eb2c0c8b66e5d0910540769355 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I am using emacs on a Wind= ows 7 machine at work. I have decided, today, to switch to ELPA to install = org-mode (or any other package), but I am totally unable to configure emacs= properly to reach the repositories.

I have the following erro= rs when emacs starts or when I ask emacs to refresh the ELPA packages list:=

"You can run the command =E2=80=98package-list-packages=E2=80= =99 with M-x pa-l- RET
Mark saved where search started
error in proce= ss sentinel: Error retrieving: http://elpa.gnu.org/packages/archive-contents (error conn= ection-failed "failed with code 10060
" :host "elpa.gnu.org" :service 80)
error in proce= ss sentinel: Error retrieving: http://elpa.gnu.org/packages/archive-contents (error conn= ection-failed "failed with code 10060
" :host "elpa.gnu.org" :service 80)
Making complet= ion list...
Package refresh done
error in process sentinel: Error ret= rieving: http://orgmod= e.org/elpa/archive-contents (error connection-failed "failed with = code 10060
" :host "orgmode.org= " :service 80)
error in process sentinel: Error retrieving: http://orgmode.org/elpa/a= rchive-contents (error connection-failed "failed with code 10060" :host "orgmode.org" := service 80)
read-number: Command attempted to use minibuffer while in mi= nibuffer
Contacting host: elpa.gnu.or= g:80
Failed to download =E2=80=98gnu=E2=80=99 archive.
Contacting= host: orgmode.org:80
Failed to do= wnload =E2=80=98org=E2=80=99 archive.
You can run the command =E2=80=98p= ackage-refresh-contents=E2=80=99 with M-x pa-r- RET
Failed to download = =E2=80=98org=E2=80=99 archive."

Below is the configuratio= n at the beginning of my .emacs init file:

"(eval-after-load &q= uot;url"
=C2=A0 '(progn
=C2=A0=C2=A0=C2=A0=C2=A0 (require &#= 39;w32-registry)
=C2=A0=C2=A0=C2=A0=C2=A0 (defadvice url-retrieve (befor= e
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 w32-set-proxy-dynamically
=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 activate)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "Before re= trieving a URL, query the IE Proxy settings, and use them."
=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (let ((proxy (w32reg-get-ie-proxy-config)))<= br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (setq url-using-proxy p= roxy
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 url-proxy-services proxy)))))

(require 'packa= ge)
(add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/") t)
;; Added by Package.el.=C2=A0 This must come before configurations of<= br>;; installed packages.=C2=A0 Don't delete this line.=C2=A0 If you do= n't want it,
;; just comment it out by adding a semicolon to the sta= rt of the line.
;; You may delete these explanatory comments.
(packag= e-initialize)"

As you=C2=A0 can see in the error messages,= the problem appears even with the gnu archive. I suspect a proxy settings = issue, but I don't know how to diagnose the problem and find the soluti= on.

Any help appreciated,

Ro= land.
--94eb2c0c8b66e5d0910540769355--