weboob behind a proxy
Hello all, I am behind a proxy at work (cntlm in my case but this is not important I think). I set correctly my environment variable but here is what I get when attempting to update:
$ weboob-config update
=== [ 0%] Getting http://updates.weboob.org/1.3/main/
2018-07-20 13:07:44,810:WARNING:urllib3.connectionpool:1.3:connectionpool.py:663:urlopen Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f30e4439910>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /1.3/main/modules.list
2018-07-20 13:07:54,825:WARNING:urllib3.connectionpool:1.3:connectionpool.py:663:urlopen Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f30e4439a90>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /1.3/main/modules.list
Traceback (most recent call last):
File "/usr/bin/weboob-config", line 28, in <module>
WeboobCfg.run()
File "/usr/lib/python2.7/dist-packages/weboob/tools/application/console.py", line 226, in run
super(ConsoleApplication, klass).run(args)
File "/usr/lib/python2.7/dist-packages/weboob/tools/application/base.py", line 489, in run
sys.exit(app.main(args))
File "/usr/lib/python2.7/dist-packages/weboob/tools/application/repl.py", line 312, in main
ret = self.onecmd(cmd)
File "/usr/lib/python2.7/dist-packages/weboob/tools/application/repl.py", line 437, in onecmd
return super(ReplApplication, self).onecmd(line)
File "/usr/lib/python2.7/cmd.py", line 221, in onecmd
return func(arg)
File "/usr/lib/python2.7/dist-packages/weboob/applications/weboobcfg/weboobcfg.py", line 322, in do_update
self.weboob.update(ConsoleProgress(self))
File "/usr/lib/python2.7/dist-packages/weboob/core/ouiboube.py", line 394, in update
self.repositories.update(progress)
File "/usr/lib/python2.7/dist-packages/weboob/core/repositories.py", line 633, in update
self.update_repositories(progress)
File "/usr/lib/python2.7/dist-packages/weboob/core/repositories.py", line 600, in update_repositories
repository.retrieve_index(self.browser, repo_path)
File "/usr/lib/python2.7/dist-packages/weboob/core/repositories.py", line 181, in retrieve_index
fp = StringIO(browser.open(posixpath.join(self.url, self.INDEX)).text)
File "/usr/lib/python2.7/dist-packages/weboob/browser/browsers.py", line 348, in open
is_async=is_async)
File "/usr/lib/python2.7/dist-packages/weboob/browser/sessions.py", line 159, in send
return func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/weboob/browser/sessions.py", line 151, in func
resp = sup(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 508, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='updates.weboob.org', port=80): Max retries exceeded with url: /1.3/main/modules.list (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f30e4439b90>: Failed to establish a new connection: [Errno 101] Network is unreachable',))
My environment variable are the following:
$ env | grep -i proxy
HTTP_PROXY=http://127.0.0.1:3128
https_proxy=https://127.0.0.1:3128
http_proxy=http://127.0.0.1:3128
ALL_PROXY=https://127.0.0.1:3128
HTTPS_PROXY=https://127.0.0.1:3128
What is wrong ?