Error with https://---

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