Description
Please note that this bug is on github.com libcloud version 2.2.0 I am not sure which apache version # that is.
from libcloud.storage.types import Provider from libcloud.storage.providers import get_driver cls2 = get_driver(Provider.BACKBLAZE_B2) driver = cls2('name', 'secret') c = driver.list_containers() # fails with ConnectionError: HTTPSConnectionPool(host='none', port=443): Max retries exceeded with url:...
Workaround: set connection to None
try: if driver.connection.connection.host == 'https://None': driver.connection.connection = None except: pass c = driver.list_containers() # succeeds