You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Lyndon Bauto (Jira)" <ji...@apache.org> on 2021/12/08 18:18:00 UTC

[jira] [Created] (TINKERPOP-2662) Unclosed client session and stacktrace pops up when cleanup is missed

Lyndon Bauto created TINKERPOP-2662:
---------------------------------------

             Summary: Unclosed client session and stacktrace pops up when cleanup is missed
                 Key: TINKERPOP-2662
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2662
             Project: TinkerPop
          Issue Type: Bug
          Components: python
            Reporter: Lyndon Bauto


Recently the aiohttp transport layer was introduced. This uses an event loop.

The transport layer cleans up when close is called on it, however in some cases, a user may not call close, due to exceptions in their code, or improper usage. 

In this case, the user will get an error message saying 'Unclosed client session' and a stack trace that shows aiohttp trying to shutdown and expecting things to be closed but they are left open. aiohttp then cleans this up under the hood, but we should be closing things down properly in advance.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)