Error with https://https://python-poetry.org/

exception = HTTPSConnectionPool(host='https', port=443): Max retries exceeded with url: /python-poetry.org/ (Caused by NameResolutionError("HTTPSConnection(host='https', port=443): Failed to resolve 'https' ([Errno -2] Name or service not known)"))