emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Roland Everaert <reveatwork@gmail.com>
To: Keshav Kini <keshav.kini@oracle.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Connecting to Org ELPA via an HTTP proxy from Emacs 25 and older
Date: Thu, 15 Mar 2018 09:17:18 +0100	[thread overview]
Message-ID: <CACdPZ9Lw5ufYhUaWhC_WqWDypeybOkj8xgg0VA3dvXz8bczGJQ@mail.gmail.com> (raw)
In-Reply-To: <48f79a3c-2253-cab3-5410-dbdc7d994356@oracle.com>

[-- Attachment #1: Type: text/plain, Size: 2241 bytes --]

I also face the same problem, which forces me to download and install
manually the package instead of using the ELPA repo.

I would also appreciate a change in behavior of the webserver.


Thanks,

Roland.


On Wed, Mar 14, 2018 at 11:14 PM, Keshav Kini <keshav.kini@oracle.com>
wrote:

> Hi,
>
> This mail is about the Org ELPA repository, not Org itself.  Please
> let me know if I've mailed the wrong list.
>
> Inside my corporate network, I must connect to external hosts such as
> orgmode.org via an HTTP proxy.  Most programs on my machine are able
> to access both HTTP and HTTPS URLs through the proxy without any
> problem.
>
> However, it seems that Emacs's URL package, used by many Emacs tools
> including package.el, has been unable to properly establish HTTPS
> connections over an HTTP proxy for a long time:
>
>   https://debbugs.gnu.org/11788
>
> A patch which fixes this problem was written in 2015 by Tao Fang but
> is not currently present in any released Emacs version.  (It will be
> incorporated into Emacs 26, according to the NEWS.26 file in the Emacs
> development repository.)
>
> Meanwhile, the orgmode.org web server is currently responding to HTTPS
> requests with an HTTP 301 status, redirecting the client to the
> corresponding HTTPS URL, i.e. it tries to force the client to use
> HTTPS.  This is in contrast with a couple of other major ELPA
> repositories, MELPA and GNU ELPA:
>
> | $ curl -Is http://orgmode.org/elpa/archive-contents | head -1
> | HTTP/1.1 301 Moved Permanently
> | $ curl -Is http://melpa.org/packages/archive-contents | head -1
> | HTTP/1.1 200 OK
> | $ curl -Is http://elpa.gnu.org/packages/archive-contents | head -1
> | HTTP/1.1 200 OK
>
> This would seem to mean that anyone using an unpatched non-development
> version of Emacs today is unable to connect to the Org ELPA from
> behind an HTTP proxy.  I gather that this must be a recent change in
> behavior, because I have been able to download packages from the Org
> ELPA in the past without any trouble.
>
> Would it be possible for whoever maintains the orgmode.org web server
> to reconfigure it so that it responds to HTTP requests directly as it
> used to do, instead of redirecting to HTTPS?
>
> Thanks,
>     Keshav
>
>

[-- Attachment #2: Type: text/html, Size: 3485 bytes --]

  reply	other threads:[~2018-03-15  8:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-14 22:14 Connecting to Org ELPA via an HTTP proxy from Emacs 25 and older Keshav Kini
2018-03-15  8:17 ` Roland Everaert [this message]
2018-03-20 23:27   ` Bastien
2018-03-21  9:36     ` Roland Everaert
2018-03-22 20:32     ` Keshav Kini

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACdPZ9Lw5ufYhUaWhC_WqWDypeybOkj8xgg0VA3dvXz8bczGJQ@mail.gmail.com \
    --to=reveatwork@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=keshav.kini@oracle.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).