I am using Poetry version 1.1.7
.
Running poetry install
yields this error.
Can this be resolved through bash or is this explicitly to do with my network? Note: Internet connectivity it perfectly fine in browsers.
me@LAPTOP-G1DAPU88:~/.ssh/workers-python/workers/CompositeKey/CompositeKey$ poetry install
Updating dependencies
Resolving dependencies... (225.5s)
ConnectionError
HTTPSConnectionPool(host='pkgs.dev.azure.com', port=443): Max retries exceeded with url: <CENSORED> (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f53950c3ee0>: Failed to establish a new connection: [Errno 101] Network is unreachable'))
at ~/.poetry/lib/poetry/_vendor/py3.8/requests/adapters.py:516 in send
512│ if isinstance(e.reason, _SSLError):
513│ # This branch is for urllib3 v1.22 and later.
514│ raise SSLError(e, request=request)
515│
→ 516│ raise ConnectionError(e, request=request)
517│
518│ except ClosedPoolError as e:
519│ raise ConnectionError(e, request=request)
520│
A 401 Unauthorized Error
is thrown when pasting the URL into my browser.
Network is unreachable
. If you meant to install from that azure server (poetry config --list
, docs), make sure you resolve any network issues. Either you're blocked from reaching this destination (corporate VPN?) or your local settings (iptables
, corporate policies) are blocking you. – Stuffedexport POETRY_REPOSITORIES_AZURE_URL="my_url"
intentionally. I have every other time for work – Hm