From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Halliday Newsgroups: gmane.emacs.help Subject: proxy returning empty hits only in emacs Date: Thu, 12 Mar 2015 08:16:59 -0700 (PDT) Message-ID: <59042f4d-4c62-4ca9-b6c0-2d69ac414d8f@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1426173712 12236 80.91.229.3 (12 Mar 2015 15:21:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Mar 2015 15:21:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 12 16:21:51 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YW4vl-0006C8-2U for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Mar 2015 16:21:49 +0100 Original-Received: from localhost ([::1]:60656 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YW4vk-000122-A8 for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Mar 2015 11:21:48 -0400 X-Received: by 10.43.90.6 with SMTP id bg6mr37226286icc.11.1426173419984; Thu, 12 Mar 2015 08:16:59 -0700 (PDT) X-Received: by 10.140.108.182 with SMTP id j51mr723893qgf.24.1426173419954; Thu, 12 Mar 2015 08:16:59 -0700 (PDT) Original-Path: usenet.stanford.edu!hl2no10543330igb.0!news-out.google.com!db6ni50316igc.0!nntp.google.com!hl2no10543326igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=83.244.128.25; posting-account=kRukCAoAAAANs-vsVh9dFwo5kp5pwnPz Original-NNTP-Posting-Host: 83.244.128.25 User-Agent: G2/1.0 Injection-Date: Thu, 12 Mar 2015 15:16:59 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:210836 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103115 Archived-At: Hi all, I installed Debian Jessie over Ubuntu Vervet following a kernel update disaster. However, following the change emacs (both 24.4) is unable to make use of my proxy. I have a CNTLM proxy on localhost which does not require additional authentication, e.g. export http_proxy=http://localhost:3128/ export https_proxy=https://localhost:3128/ export no_proxy="localhost,*.my-company.com" export ftp_proxy=${http_proxy} which is picked up by the X environment, and emacs appears to use it automatically because issuing a `(package-refresh-contents)` gives Importing package-keyring.gpg...done Using a proxy for http... Contacting host: localhost:3128 Failed to download `gnu' archive. Failed to download `melpa' archive. nil However I can't get any more debugging information than this, despite turning on (setq debug-on-error t). I'd like to know *why* it is failing so that I can fix it. I also tried running url-copy-file: (url-copy-file "http://google.com/" "google.html") but this simply creates an empty file. The proxy is working fine for everything else on the system (and, except for a few special cases, everything picks up the envvars). I've even tried this (which is pretty pointless, because emacs is clearly using the correct proxy): (setq url-proxy-services '(("no_proxy" . "^\\(localhost\\|10.*\\)") ("http" . "localhost:3128") ("https" . "localhost:3128"))) as expected, it changes nothing. Is there something else I'm missing? Best regards, Sam