Hi,
I had a problem running certbot, our process has worked previously. It seems pip has trouble installing a dependency from a server, which throws a 503 error.
Initially, I ran using the version of certbot that we downloaded a long while back in early 2017.
When this old version was run, in the error output it pointed out this URL as being inaccessible: https://files.pythonhosted.org/packages/17/8d/4a41f11b0971017c7001f118be8003da8f7b96b010c66cd792b76658d1e1/ConfigArgParse-0.12.0.tar.gz#sha256=28cd7d67669651f2a4518367838c49539457504584a139709b2b8f6c208ef339
The page says “Error 503 Backend is unhealthy” when visited in the browser.
I then upgraded certbot to the latest version by git cloning into another folder. When I repeated the command, I got pretty much the same 503 error, but this time the URL was not shown.
My domain is: Local environment
I ran this command:
./letsencrypt-auto renew --force-renewal --standalone --preferred-challenges http --no-bootstrap
It produced this output:
Requesting to rerun ./letsencrypt-auto with root privileges…
Creating virtual environment…
Installing Python packages…
Traceback (most recent call last):
File “/tmp/tmp.PxiElocdp3/pipstrap.py”, line 184, in
exit(main())
File “/tmp/tmp.PxiElocdp3/pipstrap.py”, line 165, in main
for path, digest in PACKAGES]
File “/tmp/tmp.PxiElocdp3/pipstrap.py”, line 120, in hashed_download
response = opener(using_https=parsed_url.scheme == ‘https’).open(url)
File “/usr/lib64/python2.7/urllib2.py”, line 435, in open
response = meth(req, response)
File “/usr/lib64/python2.7/urllib2.py”, line 548, in http_response
‘http’, request, response, code, msg, hdrs)
File “/usr/lib64/python2.7/urllib2.py”, line 467, in error
result = self._call_chain(*args)
File “/usr/lib64/python2.7/urllib2.py”, line 407, in _call_chain
result = func(*args)
File “/usr/lib64/python2.7/urllib2.py”, line 654, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File “/usr/lib64/python2.7/urllib2.py”, line 435, in open
response = meth(req, response)
File “/usr/lib64/python2.7/urllib2.py”, line 548, in http_response
‘http’, request, response, code, msg, hdrs)
File “/usr/lib64/python2.7/urllib2.py”, line 467, in error
result = self._call_chain(*args)
File “/usr/lib64/python2.7/urllib2.py”, line 407, in _call_chain
result = func(*args)
File “/usr/lib64/python2.7/urllib2.py”, line 654, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File “/usr/lib64/python2.7/urllib2.py”, line 435, in open
response = meth(req, response)
File “/usr/lib64/python2.7/urllib2.py”, line 548, in http_response
‘http’, request, response, code, msg, hdrs)
File “/usr/lib64/python2.7/urllib2.py”, line 473, in error
return self._call_chain(*args)
File “/usr/lib64/python2.7/urllib2.py”, line 407, in _call_chain
result = func(*args)
File “/usr/lib64/python2.7/urllib2.py”, line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 503: Backend is unhealthy
Maybe there’s a workaround that might involve getting it to use Python 3 instead?
Cheers!