Skip to content

403 forbidden error #10

Description

@francish06

Traceback (most recent call last):
File "/opt/conda/lib/python3.9/site-packages/urllib3/connectionpool.py", line 700, in urlopen
self._prepare_proxy(conn)
File "/opt/conda/lib/python3.9/site-packages/urllib3/connectionpool.py", line 994, in _prepare_proxy
conn.connect()
File "/opt/conda/lib/python3.9/site-packages/urllib3/connection.py", line 371, in connect
self._tunnel()
File "/opt/conda/lib/python3.9/http/client.py", line 930, in _tunnel
raise OSError(f"Tunnel connection failed: {code} {message.strip()}")
OSError: Tunnel connection failed: 403 Forbidden

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/ba6984d8-6b6e-4b14-9b94-7914700db478/.local/lib/python3.9/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
File "/opt/conda/lib/python3.9/site-packages/urllib3/connectionpool.py", line 785, in urlopen
retries = retries.increment(
File "/opt/conda/lib/python3.9/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='ucdeconvolve-api-server-gateway-7ohn2lw6.uc.gateway.dev', port=443): Max retries exceeded with url: //api/register_user (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 403 Forbidden')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 1, in
File "/home/ba6984d8-6b6e-4b14-9b94-7914700db478/.local/lib/python3.9/site-packages/ucdeconvolve/_api/_api.py", line 108, in register
response = apiutils.send_request("/api/register_user", params)
File "/home/ba6984d8-6b6e-4b14-9b94-7914700db478/.local/lib/python3.9/site-packages/ucdeconvolve/_api/_apiutils.py", line 97, in send_request
response = session.request(method, url, json = payload)
File "/home/ba6984d8-6b6e-4b14-9b94-7914700db478/.local/lib/python3.9/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "/home/ba6984d8-6b6e-4b14-9b94-7914700db478/.local/lib/python3.9/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "/home/ba6984d8-6b6e-4b14-9b94-7914700db478/.local/lib/python3.9/site-packages/requests/adapters.py", line 513, in send
raise ProxyError(e, request=request)
requests.exceptions.ProxyError: HTTPSConnectionPool(host='ucdeconvolve-api-server-gateway-7ohn2lw6.uc.gateway.dev', port=443): Max retries exceeded with url: //api/register_user (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 403 Forbidden')))

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions