Bug#622212: devscripts: uscan problems when HTTPS_PROXY or https_proxy is set

Francois Marier francois at debian.org
Sat Jun 4 09:51:34 UTC 2011


On 2011-04-10 at 23:31:37, James Vega wrote:
> If you run “uscan --debug --report 2>&1|grep 'requesting URL'”, you'll see the
> exact URLs that uscan is using.  I imagine you'll see the same results using
> /usr/bin/GET (which libwww-perl provides) to fetch those URLs.

Indeed, I also have problems when using /usr/bin/GET directly:

  $ uscan --debug --report
  -- Scanning for watchfiles in .
  -- Found watchfile in ./debian
  -- In debian/watch, processing watchfile line:
     https://launchpad.net/mahara/+download http://launchpad.net/mahara/[\d.]+/[\d.]+/\+download/mahara-([\d.]+).tar.gz
  uscan debug: requesting URL https://launchpad.net/mahara/+download
  uscan warning: In watchfile debian/watch, reading webpage
    https://launchpad.net/mahara/+download failed: 500 Can't connect to localhost:8118
  -- Scan finished

  $ GET https://launchpad.net/mahara/+download
  Can't connect to localhost:8118
  
  LWP::Protocol::https::Socket: SSL connect attempt failed with unknown errorerror:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol at /usr/share/perl5/LWP/Protocol/http.pm line 51.

but everything is fine if I disable my proxy like this:

  $ https_proxy= GET https://launchpad.net/mahara/+download

That proxy works fine with Firefox, Chromium, wget and curl.

Is there anything else I can do to try and narrow the problem down further?

Cheers,
Francois





More information about the pkg-perl-maintainers mailing list