Skip to content

Tornado throws Stream closed error #5

Description

@yayannpaul

I have followed everything you did in your app.py and I am using chalice too. But somehow, when I try to run my lambda functions, I get this error. I am trying to connect to a Neptune db instance and check if I can create my first vertex.
Traceback (most recent call last): File "/var/task/chalice/app.py", line 1104, in _get_view_function_response response = view_function(**function_args) File "/var/task/app.py", line 40, in getPosts raise e File "/var/task/app.py", line 33, in getPosts g.addV("user").property(T.id, 1).next() File "/var/task/gremlin_python/process/traversal.py", line 89, in next return self.__next__() File "/var/task/gremlin_python/process/traversal.py", line 48, in __next__ self.traversal_strategies.apply_strategies(self) File "/var/task/gremlin_python/process/traversal.py", line 573, in apply_strategies traversal_strategy.apply(traversal) File "/var/task/gremlin_python/driver/remote_connection.py", line 149, in apply remote_traversal = self.remote_connection.submit(traversal.bytecode) File "/var/task/gremlin_python/driver/driver_remote_connection.py", line 55, in submit result_set = self._client.submit(bytecode) File "/var/task/gremlin_python/driver/client.py", line 111, in submit return self.submitAsync(message, bindings=bindings).result() File "/var/task/gremlin_python/driver/client.py", line 127, in submitAsync return conn.write(message) File "/var/task/gremlin_python/driver/connection.py", line 55, in write self.connect() File "/var/task/gremlin_python/driver/connection.py", line 45, in connect self._transport.connect(self._url, self._headers) File "/var/task/gremlin_python/driver/tornado/transport.py", line 36, in connect lambda: websocket.websocket_connect(url)) File "/var/task/tornado/ioloop.py", line 576, in run_sync return future_cell[0].result() tornado.simple_httpclient.HTTPStreamClosedError: Stream closed

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions