I have been trying to deploy my web app from github using
pa_autoconfigure_django.py githubURL
However each time I try there is an error when trying to create the wev app via API
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 696, in urlopen
self._prepare_proxy(conn)
File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 964, in _prepare_proxy
conn.connect()
File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 366, in connect
self._tunnel()
File "/usr/local/lib/python3.6/http/client.py", line 935, in _tunnel
message.strip()))
OSError: Tunnel connection failed: 503 Service Unavailable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/usr/local/lib/python3.6/site-packages/urllib3/util/retry.py", line 573, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.pythonanywhere.com', port=443): Max retries exceeded with url: /api/v0/user/
Mendozaji32/webapps/mendozaji32.pythonanywhere.com/ (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 503
Service Unavailable',)))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/Mendozaji32/.local/bin/pa_autoconfigure_django.py", line 54, in <module>
nuke=arguments.get('--nuke')
File "/home/Mendozaji32/.local/bin/pa_autoconfigure_django.py", line 34, in main
project.create_webapp(nuke=nuke)
File "/home/Mendozaji32/.local/lib/python3.6/site-packages/pythonanywhere/project.py", line 44, in create_webapp
self.webapp.create(self.python_version, self.virtualenv.path, self.project_path, nuke=nuke)
File "/home/Mendozaji32/.local/lib/python3.6/site-packages/pythonanywhere/api/webapp.py", line 50, in create
call_api(webapp_url, "delete")
File "/home/Mendozaji32/.local/lib/python3.6/site-packages/pythonanywhere/api/base.py", line 44, in call_api
**kwargs
File "/usr/local/lib/python3.6/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 510, in send
raise ProxyError(e, request=request)
requests.exceptions.ProxyError: HTTPSConnectionPool(host='www.pythonanywhere.com', port=443): Max retries exceeded with url: /api/v0/user/Mendozaji32/webapps/mendozaji32.pythonanywhere.com/ (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 503 Service Unavailable',)))
Can someone help me solve this issue?