<div dir="ltr"><div><div><div><div><div>I think I found where the bug is:<br><br><a href="https://github.com/ProgVal/reportbug/blob/19fb757df622419f39360627060c9bd0304e0e25/reportbug/debbugs.py#L1209">https://github.com/ProgVal/reportbug/blob/19fb757df622419f39360627060c9bd0304e0e25/reportbug/debbugs.py#L1209</a><br></div>reportbugs calls debianbts without setting an http_proxy variable to it.<br><br></div>A way to fix this would be by setting up the proxy before each call to the debianbts library like so:<br><br>    debianbts._soap_client_kwargs['proxy'] = http_proxy<br><br></div>I tried fixing it myself but then I ran into a problem of "proxy is not supported with urllib2 transport", thrown by pysimplesoap.<br></div>Somehow I need to change the requests provider of it so it can take proxy.<br><br></div>This probably request the help of the maintainer of debianbts.<br><div><div><div><div><div><div><div><div><br>On Wed, 1 Mar 2017 15:50:09 -0300 (UYT) =?utf-8?B?SXbDoW4=?= Baldo <<a href="mailto:ibaldo@adinet.com.uy">ibaldo@adinet.com.uy</a>> wrote:<br>> Still happens with 7.1.4: <br>> <br>> $ LANG=C.UTF-8 reportbug sane-utils <br>> Unable to init server: Could not connect: Connection refused <br>> Unable to init server: Could not connect: Connection refused <br>> *** Welcome to reportbug. Use ? for help at prompts. *** <br>> Note: bug reports are publicly archived (including the email address of the submitter). <br>> Detected character set: UTF-8 <br>> Please change your locale if this is incorrect. <br>> <br>> Using 'Ivan Baldo <<a href="mailto:ibaldo@adinet.com.uy">ibaldo@adinet.com.uy</a>>' as your from address. <br>> Getting status for sane-utils... <br>> Verifying package integrity... <br>> Checking for newer versions at madison, <a href="http://incoming.debian.org">incoming.debian.org</a> and <a href="http://ftp-master.debian.org/new.html">http://ftp-master.debian.org/new.html</a> <br>> <br>> Your version (1.0.25-3) of sane-utils appears to be out of date. <br>> The following newer release(s) are available in the Debian archive: <br>> experimental: 1.0.26~git20151121-1 <br>> Do you still want to file a report [y|N|q|?]? y <br>> Will send report to Debian (per lsb_release). <br>> Querying Debian BTS for reports on sane-backends (source)... <br>> Unable to connect to Debian BTS (error: "OSError(101, 'Network is unreachable')"); continue [y|N|?]? n <br>> <br></div></div></div></div></div></div></div></div></div>