You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Florian Hockmann (JIRA)" <ji...@apache.org> on 2019/01/11 09:49:00 UTC

[jira] [Created] (TINKERPOP-2131) NoConnectionAvailableException doesn't reveal the reason

Florian Hockmann created TINKERPOP-2131:
-------------------------------------------

             Summary: NoConnectionAvailableException doesn't reveal the reason
                 Key: TINKERPOP-2131
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2131
             Project: TinkerPop
          Issue Type: Improvement
          Components: dotnet
    Affects Versions: 3.4.0
            Reporter: Florian Hockmann


The Gremlin.Net driver throws a {{NoConnectionAvailableException}} if it can't get a connection from the pool. This can happen in two cases:
 # All connections are busy (reached their max requests in flight limit)
 # The pool is empty, e.g., because the server isn't reachable

Unfortunately, it's currently impossible to tell from the exception which of these cases caused the exception. The exception message should contain this information as the first case means that users should probably increase the limits whereas the second case just means that there is a general connectivity problem.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)