libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Kozyrev (JIRA)" <>
Subject [jira] [Created] (LIBCLOUD-936) AWS ELB/ALB Driver connection object initialization is broken
Date Mon, 07 Aug 2017 15:21:00 GMT
Anton Kozyrev created LIBCLOUD-936:

             Summary: AWS ELB/ALB Driver connection object initialization is broken
                 Key: LIBCLOUD-936
             Project: Libcloud
          Issue Type: Bug
          Components: LoadBalancer
            Reporter: Anton Kozyrev

Code to reproduce:

from libcloud.loadbalancer.types import Provider
from libcloud.loadbalancer.providers import get_driver

key = ''
secret = ''
token = ''

cls = get_driver(Provider.ELB)
#cls = get_driver(Provider.ALB)

driver = cls(key, secret, 'us-east-1', token=token)
data = driver.list_balancers()

 File "/Users/irvan/py27venv/lib/python2.7/site-packages/requests/", line 502,
in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='',
port=443): Max retries exceeded with url: /2012-06-01/?Action=DescribeLoadBalancers&Version=2012-06-01
(Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection
object at 0x10760f4d0>: Failed to establish a new connection: [Errno 8] nodename nor servname
provided, or not known',))

This message was sent by Atlassian JIRA

View raw message