Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-941

Backblaze storage broken? Potential workaround attached

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.15.0
    • Fix Version/s: None
    • Component/s: Storage
    • Labels:
    • Environment:

      python 2.7

      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
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              skyusc sky
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: