Configure mach to use proxy

14 views
Skip to first unread message

96basa...@gmail.com

unread,
Dec 17, 2019, 8:06:56 AM12/17/19
to mozilla-dev-d...@lists.mozilla.org
Hi,

Every time I run mach bootstrap I get the following error:

URLError: <urlopen error [Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond>

File "d:\Open Source\mozilla-central\python/mozboot/mozboot/mach_commands.py", line 44, in bootstrap
bootstrapper.bootstrap()
File "d:\Open Source\mozilla-central\python/mozboot\mozboot\bootstrap.py", line 453, in bootstrap
self.instance.ensure_rust_modern()
File "d:\Open Source\mozilla-central\python/mozboot\mozboot\base.py", line 712, in ensure_rust_modern
self.install_rust()
File "d:\Open Source\mozilla-central\python/mozboot\mozboot\base.py", line 764, in install_rust
self.http_download_and_save(url, rustup_init, checksum)
File "d:\Open Source\mozilla-central\python/mozboot\mozboot\base.py", line 787, in http_download_and_save
f = urlopen(url)
File "c:\mozilla-build\python\lib\urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "c:\mozilla-build\python\lib\urllib2.py", line 429, in open
response = self._open(req, data)
File "c:\mozilla-build\python\lib\urllib2.py", line 447, in _open
'_open', req)
File "c:\mozilla-build\python\lib\urllib2.py", line 407, in _call_chain
result = func(*args)
File "c:\mozilla-build\python\lib\urllib2.py", line 1241, in https_open
context=self._context)
File "c:\mozilla-build\python\lib\urllib2.py", line 1198, in do_open
raise URLError(err)

I doubt it is because of the corporate proxy behind which I'm running mach. Is there a way to configure mach to use the proxy.

Regards,
Basavaraj Munnoli

Reply all
Reply to author
Forward
0 new messages