Python 3 Error when running 'localstack infra'

Issue #33 resolved
Clay Sweetser created an issue

When running localstack on Mac OSX via Python 3.6, I get this error upon start of the gateway service:

ERROR:localstack.mock.generic_proxy:Error forwarding request: HTTPConnectionPool(host='127.0.0.1', port=4585): Max retries exceeded with url: / (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x11184bfd0>: Failed to establish a new connection: [Errno 61] Connection refused',))
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/connection.py", line 142, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/util/connection.py", line 98, in create_connection
    raise err
  File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/util/connection.py", line 88, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 61] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 595, in urlopen
    chunked=chunked)
  File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 363, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1239, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1285, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1234, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 964, in send
    self.connect()
  File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/connection.py", line 167, in connect
    conn = self._new_conn()
  File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/connection.py", line 151, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.HTTPConnection object at 0x11184bfd0>: Failed to establish a new connection: [Errno 61] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 417, in send
    timeout=timeout
  File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 640, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/util/retry.py", line 287, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
requests.packages.urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=4585): Max retries exceeded with url: / (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x11184bfd0>: Failed to establish a new connection: [Errno 61] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/localstack/mock/generic_proxy.py", line 134, in forward
    headers=forward_headers)
  File "/usr/local/lib/python3.6/site-packages/requests/api.py", line 110, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/requests/api.py", line 56, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 471, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 581, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 481, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=4585): Max retries exceeded with url: / (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x11184bfd0>: Failed to establish a new connection: [Errno 61] Connection refused',))

Running localstack on Python 2.7 works successfully, so I can only assume this something specific with Python 3.6.

Comments (7)

  1. Waldemar Hummer Account Deactivated

    Hi, thanks for reporting. How are you starting LocalStack - I'm assuming via make infra?

    Can you please give it a try using the DEBUG environment variable and post any relevant debug output:

    DEBUG=1 make infra
    

    Thanks

  2. Clay Sweetser reporter

    Hm, I'm running localstack via 'localstack infra' (I installed it via pip):

    DEBUG=1 localstack infra
    Starting local dev environment. CTRL-C to quit.
    Starting local Elasticsearch (port 4571)...
    Starting mock ES service (port 4578)...
    Starting mock S3 (port 4572)...
    Starting mock SNS (port 4575)...
    Starting mock SQS (port 4576)...
    Starting mock API Gateway (port 4567)...
    Starting mock DynamoDB (port 4569)...
    Starting mock DynamoDB Streams service (port 4570)...
    Starting mock Firehose service (port 4573)...
    Starting mock Lambda service (port 4574)...
    Starting mock Kinesis (port 4568)...
    Starting mock Redshift (port 4577)...
    Starting mock Route53 (port 4580)...
    Starting mock SES (port 4579)...
    Starting mock CloudFormation (port 4581)...
    Starting mock CloudWatch (port 4582)...
    Error: Unable to access jarfile DynamoDBLocal.jar
    Listening at http://:::4584
    * Running on http://0.0.0.0:4576/ (Press CTRL+C to quit)
    * Running on http://0.0.0.0:4583/ (Press CTRL+C to quit)
    * Running on http://0.0.0.0:4586/ (Press CTRL+C to quit)
    * Running on http://0.0.0.0:4587/ (Press CTRL+C to quit)
    * Running on http://0.0.0.0:4577/ (Press CTRL+C to quit)
    * Running on http://0.0.0.0:4579/ (Press CTRL+C to quit)
    * Running on http://0.0.0.0:4580/ (Press CTRL+C to quit)
    * Running on http://0.0.0.0:4589/ (Press CTRL+C to quit)
    * Running on http://0.0.0.0:4582/ (Press CTRL+C to quit)
    ERROR:localstack.mock.generic_proxy:Error forwarding request: HTTPConnectionPool(host='127.0.0.1', port=4585): Max retries exceeded with url: / (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x10cd88fd0>: Failed to establish a new connection: [Errno 61] Connection refused',))
    Traceback (most recent call last):
      File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/connection.py", line 142, in _new_conn
        (self.host, self.port), self.timeout, **extra_kw)
      File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/util/connection.py", line 98, in create_connection
        raise err
      File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/util/connection.py", line 88, in create_connection
        sock.connect(sa)
    ConnectionRefusedError: [Errno 61] Connection refused
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 595, in urlopen
        chunked=chunked)
      File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 363, in _make_request
        conn.request(method, url, **httplib_request_kw)
      File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1239, in request
        self._send_request(method, url, body, headers, encode_chunked)
      File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1285, in _send_request
        self.endheaders(body, encode_chunked=encode_chunked)
      File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1234, in endheaders
        self._send_output(message_body, encode_chunked=encode_chunked)
      File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1026, in _send_output
        self.send(msg)
      File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 964, in send
        self.connect()
      File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/connection.py", line 167, in connect
        conn = self._new_conn()
      File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/connection.py", line 151, in _new_conn
        self, "Failed to establish a new connection: %s" % e)
    requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.HTTPConnection object at 0x10cd88fd0>: Failed to establish a new connection: [Errno 61] Connection refused
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 417, in send
        timeout=timeout
      File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 640, in urlopen
        _stacktrace=sys.exc_info()[2])
      File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/util/retry.py", line 287, in increment
        raise MaxRetryError(_pool, url, error or ResponseError(cause))
    requests.packages.urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=4585): Max retries exceeded with url: / (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x10cd88fd0>: Failed to establish a new connection: [Errno 61] Connection refused',))
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/local/lib/python3.6/site-packages/localstack/mock/generic_proxy.py", line 134, in forward
        headers=forward_headers)
      File "/usr/local/lib/python3.6/site-packages/requests/api.py", line 110, in post
        return request('post', url, data=data, json=json, **kwargs)
      File "/usr/local/lib/python3.6/site-packages/requests/api.py", line 56, in request
        return session.request(method=method, url=url, **kwargs)
      File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 471, in request
        resp = self.send(prep, **send_kwargs)
      File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 581, in send
        r = adapter.send(request, **kwargs)
      File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 481, in send
        raise ConnectionError(e, request=request)
    requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=4585): Max retries exceeded with url: / (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x10cd88fd0>: Failed to establish a new connection: [Errno 61] Connection refused',))
    [2017-06-21T17:32:51,514][INFO ][o.e.n.Node               ] [] initializing ...
    [2017-06-21T17:32:51,577][INFO ][o.e.e.NodeEnvironment    ] [OFCYoqY] using [1] data paths, mounts [[/ (/dev/disk1)]], net usable_space [388.7gb], net total_space [464.7gb], spins? [unknown], types [hfs]
    [2017-06-21T17:32:51,578][INFO ][o.e.e.NodeEnvironment    ] [OFCYoqY] heap size [483.3mb], compressed ordinary object pointers [true]
    [2017-06-21T17:32:51,579][INFO ][o.e.n.Node               ] node name [OFCYoqY] derived from node ID [OFCYoqYoSSuYwWsLNpxzQA]; set [node.name] to override
    [2017-06-21T17:32:51,579][INFO ][o.e.n.Node               ] version[5.3.0], pid[9633], build[3adb13b/2017-03-23T03:31:50.652Z], OS[Mac OS X/10.12.5/x86_64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_102/25.102-b14]
    [2017-06-21T17:32:52,213][INFO ][o.e.p.PluginsService     ] [OFCYoqY] loaded module [aggs-matrix-stats]
    [2017-06-21T17:32:52,213][INFO ][o.e.p.PluginsService     ] [OFCYoqY] loaded module [ingest-common]
    [2017-06-21T17:32:52,213][INFO ][o.e.p.PluginsService     ] [OFCYoqY] loaded module [lang-expression]
    [2017-06-21T17:32:52,213][INFO ][o.e.p.PluginsService     ] [OFCYoqY] loaded module [lang-groovy]
    [2017-06-21T17:32:52,213][INFO ][o.e.p.PluginsService     ] [OFCYoqY] loaded module [lang-mustache]
    [2017-06-21T17:32:52,213][INFO ][o.e.p.PluginsService     ] [OFCYoqY] loaded module [lang-painless]
    [2017-06-21T17:32:52,213][INFO ][o.e.p.PluginsService     ] [OFCYoqY] loaded module [percolator]
    [2017-06-21T17:32:52,214][INFO ][o.e.p.PluginsService     ] [OFCYoqY] loaded module [reindex]
    [2017-06-21T17:32:52,214][INFO ][o.e.p.PluginsService     ] [OFCYoqY] loaded module [transport-netty3]
    [2017-06-21T17:32:52,214][INFO ][o.e.p.PluginsService     ] [OFCYoqY] loaded module [transport-netty4]
    [2017-06-21T17:32:52,214][INFO ][o.e.p.PluginsService     ] [OFCYoqY] no plugins loaded
    [2017-06-21T17:32:53,667][INFO ][o.e.n.Node               ] initialized
    [2017-06-21T17:32:53,667][INFO ][o.e.n.Node               ] [OFCYoqY] starting ...
    [2017-06-21T17:32:58,814][INFO ][o.e.t.TransportService   ] [OFCYoqY] publish_address {127.0.0.1:9300}, bound_addresses {[fe80::1]:9300}, {[::1]:9300}, {127.0.0.1:9300}, {127.94.0.4:9300}, {127.94.0.3:9300}, {127.94.0.1:9300}
    [2017-06-21T17:32:58,820][WARN ][o.e.b.BootstrapChecks    ] [OFCYoqY] initial heap size [209715200] not equal to maximum heap size [524288000]; this can cause resize pauses and prevents mlockall from locking the entire heap
    [2017-06-21T17:33:01,859][INFO ][o.e.c.s.ClusterService   ] [OFCYoqY] new_master {OFCYoqY}{OFCYoqYoSSuYwWsLNpxzQA}{IsarMu9HTIKg8jl3QX-A8Q}{127.0.0.1}{127.0.0.1:9300}, reason: zen-disco-elected-as-master ([0] nodes joined)
    [2017-06-21T17:33:01,876][INFO ][o.e.h.n.Netty4HttpServerTransport] [OFCYoqY] publish_address {127.0.0.1:4588}, bound_addresses {[fe80::1]:4588}, {[::1]:4588}, {127.0.0.1:4588}, {127.94.0.4:4588}, {127.94.0.3:4588}, {127.94.0.1:4588}
    [2017-06-21T17:33:01,878][INFO ][o.e.n.Node               ] [OFCYoqY] started
    [2017-06-21T17:33:01,880][INFO ][o.e.g.GatewayService     ] [OFCYoqY] recovered [0] indices into cluster_state
    

    Like the error message says, I don't appear to have DynamoDBLocal.jar on my system.

  3. Waldemar Hummer Account Deactivated

    Hi @clay_sweetser, there have been a few changes recently. Can you please try installing the latest version and see if the problem is still reproducible:

    pip uninstall localstack
    pip install --upgrade --no-cache localstack
    DEBUG=1 localstack start
    

    If it still does not work, please post the output of these commands:

    python -c 'import localstack; import os; print os.path.dirname(localstack.__file__)'
    ls -la `python -c 'import localstack; import os; print "%s/infra/dynamodb" % os.path.dirname(localstack.__file__)'`
    

    Thanks

  4. shrikant shinde

    I see this issue on Ubuntu. I have tried steps you mentioned above. Following are the details,

    shrishinde:repos$ DEBUG=1 localstack start
    Starting local dev environment. CTRL-C to quit.
    Starting mock API Gateway (http port 4567)...
    Starting mock CloudWatch (http port 4582)...
    Starting mock SES (http port 4579)...
    Starting mock Kinesis (http port 4568)...
    Starting mock Redshift (http port 4577)...
    Starting mock S3 (http port 4572)...
    Starting mock CloudFormation (http port 4581)...
    Starting mock DynamoDB (http port 4569)...
    Starting mock SQS (http port 4576)...
    Starting local Elasticsearch (http port 4571)...
    Starting mock SNS (http port 4575)...
    Starting mock DynamoDB Streams service (http port 4570)...
    Starting mock Firehose service (http port 4573)...
    Starting mock Route53 (http port 4580)...
    Starting mock ES service (http port 4578)...
    Starting mock Lambda service (http port 4574)...
    Initializing DynamoDB Local with the following configuration:
    Port:   4564
    InMemory:   true
    DbPath: null
    SharedDb:   true
    shouldDelayTransientStatuses:   false
    CorsParams: *
    
    * Running on http://0.0.0.0:4579/ (Press CTRL+C to quit)
    * Running on http://0.0.0.0:4582/ (Press CTRL+C to quit)
    * Running on http://0.0.0.0:4577/ (Press CTRL+C to quit)
    * Running on http://0.0.0.0:4566/ (Press CTRL+C to quit)
    * Running on http://0.0.0.0:4563/ (Press CTRL+C to quit)
    * Running on http://0.0.0.0:4560/ (Press CTRL+C to quit)
    * Running on http://0.0.0.0:4576/ (Press CTRL+C to quit)
    * Running on http://0.0.0.0:4562/ (Press CTRL+C to quit)
    * Running on http://0.0.0.0:4580/ (Press CTRL+C to quit)
    [2017-08-02T16:47:27,538][INFO ][o.e.n.Node               ] [] initializing ...
    [2017-08-02T16:47:27,608][INFO ][o.e.e.NodeEnvironment    ] [UT9YzFt] using [1] data paths, mounts [[/ (/dev/sda1)]], net usable_space [23.6gb], net total_space [78.6gb], spins? [possibly], types [ext4]
    [2017-08-02T16:47:27,609][INFO ][o.e.e.NodeEnvironment    ] [UT9YzFt] heap size [483.3mb], compressed ordinary object pointers [true]
    [2017-08-02T16:47:27,610][INFO ][o.e.n.Node               ] node name [UT9YzFt] derived from node ID [UT9YzFtzSaatL0HbGr8jPA]; set [node.name] to override
    [2017-08-02T16:47:27,610][INFO ][o.e.n.Node               ] version[5.3.0], pid[10062], build[3adb13b/2017-03-23T03:31:50.652Z], OS[Linux/3.19.0-61-generic/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_131/25.131-b11]
    [2017-08-02T16:47:28,231][INFO ][o.e.p.PluginsService     ] [UT9YzFt] loaded module [aggs-matrix-stats]
    [2017-08-02T16:47:28,231][INFO ][o.e.p.PluginsService     ] [UT9YzFt] loaded module [ingest-common]
    [2017-08-02T16:47:28,231][INFO ][o.e.p.PluginsService     ] [UT9YzFt] loaded module [lang-expression]
    [2017-08-02T16:47:28,232][INFO ][o.e.p.PluginsService     ] [UT9YzFt] loaded module [lang-groovy]
    [2017-08-02T16:47:28,232][INFO ][o.e.p.PluginsService     ] [UT9YzFt] loaded module [lang-mustache]
    [2017-08-02T16:47:28,232][INFO ][o.e.p.PluginsService     ] [UT9YzFt] loaded module [lang-painless]
    [2017-08-02T16:47:28,232][INFO ][o.e.p.PluginsService     ] [UT9YzFt] loaded module [percolator]
    [2017-08-02T16:47:28,232][INFO ][o.e.p.PluginsService     ] [UT9YzFt] loaded module [reindex]
    [2017-08-02T16:47:28,232][INFO ][o.e.p.PluginsService     ] [UT9YzFt] loaded module [transport-netty3]
    [2017-08-02T16:47:28,232][INFO ][o.e.p.PluginsService     ] [UT9YzFt] loaded module [transport-netty4]
    [2017-08-02T16:47:28,233][INFO ][o.e.p.PluginsService     ] [UT9YzFt] no plugins loaded
    [2017-08-02T16:47:29,629][INFO ][o.e.n.Node               ] initialized
    [2017-08-02T16:47:29,629][INFO ][o.e.n.Node               ] [UT9YzFt] starting ...
    [2017-08-02T16:47:29,791][INFO ][o.e.t.TransportService   ] [UT9YzFt] publish_address {127.0.0.1:9300}, bound_addresses {[::1]:9300}, {127.0.0.1:9300}
    [2017-08-02T16:47:29,797][WARN ][o.e.b.BootstrapChecks    ] [UT9YzFt] initial heap size [209715200] not equal to maximum heap size [524288000]; this can cause resize pauses and prevents mlockall from locking the entire heap
    [2017-08-02T16:47:29,798][WARN ][o.e.b.BootstrapChecks    ] [UT9YzFt] max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
    [2017-08-02T16:47:32,848][INFO ][o.e.c.s.ClusterService   ] [UT9YzFt] new_master {UT9YzFt}{UT9YzFtzSaatL0HbGr8jPA}{XNjuGQPgSRGP941x4Seysg}{127.0.0.1}{127.0.0.1:9300}, reason: zen-disco-elected-as-master ([0] nodes joined)
    [2017-08-02T16:47:32,878][INFO ][o.e.g.GatewayService     ] [UT9YzFt] recovered [0] indices into cluster_state
    [2017-08-02T16:47:32,882][INFO ][o.e.h.n.Netty4HttpServerTransport] [UT9YzFt] publish_address {127.0.0.1:4561}, bound_addresses {[::1]:4561}, {127.0.0.1:4561}
    [2017-08-02T16:47:32,885][INFO ][o.e.n.Node               ] [UT9YzFt] started
    ERROR:localstack.services.generic_proxy:Error forwarding request: HTTPConnectionPool(host='127.0.0.1', port=4565): Max retries exceeded with url: / (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f359c07b0d0>: Failed to establish a new connection: [Errno 111] Connection refused',)) Traceback (most recent call last):
      File "/usr/local/lib/python2.7/dist-packages/localstack/services/generic_proxy.py", line 185, in forward
        headers=forward_headers)
      File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 110, in post
        return request('post', url, data=data, json=json, **kwargs)
      File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 56, in request
        return session.request(method=method, url=url, **kwargs)
      File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 471, in request
        resp = self.send(prep, **send_kwargs)
      File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 581, in send
        r = adapter.send(request, **kwargs)
      File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 481, in send
        raise ConnectionError(e, request=request)
    ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=4565): Max retries exceeded with url: / (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f359c07b0d0>: Failed to establish a new connection: [Errno 111] Connection refused',))
    
    shrishinde:repos$ cat /etc/lsb-release 
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=14.04
    DISTRIB_CODENAME=trusty
    DISTRIB_DESCRIPTION="Ubuntu 14.04.4 LTS"
    shrishinde:repos$ 
    shrishinde:repos$ python -c 'import localstack; import os; print os.path.dirname(localstack.__file__)'
    /usr/local/lib/python2.7/dist-packages/localstack
    shrishinde:repos$ ls -la `python -c 'import localstack; import os; print "%s/infra/dynamodb" % os.path.dirname(localstack.__file__)'`
    total 3660
    drwxrwsr-x 4 shrishinde staff    4096 Aug  2 16:37 .
    drwxrwsr-x 5 shrishinde staff    4096 Aug  2 16:43 ..
    -rw-r--r-- 1 shrishinde staff 3713946 Feb 16 23:02 DynamoDBLocal.jar
    drwxr-xr-x 2 shrishinde staff    4096 Feb 16 23:02 DynamoDBLocal_lib
    -rw-r--r-- 1 shrishinde staff    8644 Feb 16 23:02 LICENSE.txt
    -rw-r--r-- 1 shrishinde staff     795 Feb 16 23:02 README.txt
    drwxr-xr-x 2 shrishinde staff    4096 Feb 16 23:02 third_party_licenses
    
  5. Log in to comment