Package: apt-listbugs
Version: 0.1.11
Severity: normal

Starting from version 0.1.10 apt-listbugs does not use the proxy
set with option Acquire::http::Proxy.

As you can see from the following output, apt-listbugs does read
the Acquire::http::Proxy setting but does not use it and tries to
directly connect to bugs.debian.org:80

% LC_ALL=C apt-listbugs -d list apt-listbugs
proxy configuration from apt.conf: http://proxy.example.com:8080
Retrieving bug reports... 0%Exception `LoadError' at 
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36 - cannot load such file -- 
xml/libxml
Exception `LoadError' at /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:63 - 
cannot load such file -- xml/libxml
Exception `LoadError' at /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:63 - 
cannot load such file -- xml/libxml
Exception `LoadError' at /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36 - 
cannot load such file -- xml/encoding-ja
Exception `LoadError' at /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:63 - 
cannot load such file -- xml/encoding-ja
Set XSD::XMLParser::XMLParser as XML processor.
Exception `LoadError' at /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36 - 
cannot load such file -- addressable/uri
Exception `LoadError' at /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:63 - 
cannot load such file -- addressable/uri
Exception `LoadError' at /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36 - 
cannot load such file -- net/ntlm
Exception `LoadError' at /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:63 - 
cannot load such file -- net/ntlm
Exception `LoadError' at /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36 - 
cannot load such file -- win32/sspi
Exception `LoadError' at /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:63 - 
cannot load such file -- win32/sspi
Exception `LoadError' at /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36 - 
cannot load such file -- gssapi
Exception `LoadError' at /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:63 - 
cannot load such file -- gssapi
Wire dump:

= Request

! CONNECT TO bugs.debian.org:80
Exception `Errno::ENETUNREACH' at 
/usr/lib/ruby/vendor_ruby/httpclient/session.rb:803 - Network is unreachable - 
connect(2)



If I set http_proxy, apt-listbugs works fine:

% LC_ALL=C http_proxy='http://proxy.example.com:8080' apt-listbugs -d list 
apt-listbugs
proxy configuration from apt.conf: http://proxy.example.com:8080
Retrieving bug reports... 0%Exception `LoadError' at 
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36 - cannot load such file -- 
xml/libxml
Exception `LoadError' at /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:63 - 
cannot load such file -- xml/libxml
Exception `LoadError' at /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:63 - 
cannot load such file -- xml/libxml
Exception `LoadError' at /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36 - 
cannot load such file -- xml/encoding-ja
Exception `LoadError' at /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:63 - 
cannot load such file -- xml/encoding-ja
Set XSD::XMLParser::XMLParser as XML processor.
Exception `LoadError' at /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36 - 
cannot load such file -- addressable/uri
Exception `LoadError' at /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:63 - 
cannot load such file -- addressable/uri
Exception `LoadError' at /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36 - 
cannot load such file -- net/ntlm
Exception `LoadError' at /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:63 - 
cannot load such file -- net/ntlm
Exception `LoadError' at /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36 - 
cannot load such file -- win32/sspi
Exception `LoadError' at /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:63 - 
cannot load such file -- win32/sspi
Exception `LoadError' at /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36 - 
cannot load such file -- gssapi
Exception `LoadError' at /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:63 - 
cannot load such file -- gssapi
Wire dump:

= Request

! CONNECT TO proxy.example.com:8080
! CONNECTION ESTABLISHED
POST http://bugs.debian.org:80/cgi-bin/soap.cgi HTTP/1.1
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
User-Agent: SOAP4R/1.6.1-SNAPSHOT (2.3.3, ruby 1.9.3 (2013-06-27))
Accept: */*
Date: Fri, 29 Nov 2013 20:33:33 GMT
Content-Length: 1053
Host: bugs.debian.org

...(stripped rest of the output)

Cheers,
Martin


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt-listbugs depends on:
ii  apt                           0.9.12.1
ii  ruby                          1:1.9.3
ii  ruby-debian                   0.3.8+b1
ii  ruby-gettext                  3.0.2-2
ii  ruby-httpclient               2.3.3-2
ii  ruby-soap4r                   2.0.5-2
ii  ruby-xmlparser                0.7.2-2
ii  ruby1.8 [ruby-interpreter]    1.8.7.358-8
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.448-1

apt-listbugs recommends no packages.

Versions of packages apt-listbugs suggests:
ii  chromium [www-browser]   31.0.1650.57-1
ii  debianutils              4.4
ii  elinks [www-browser]     0.12~pre6-2
ii  iceweasel [www-browser]  25.0-1
ii  konqueror [www-browser]  4:4.11.3-1
ii  reportbug                6.4.4
ii  w3m [www-browser]        0.5.3-12

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to