Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2131

NoConnectionAvailableException doesn't reveal the reason

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4.0
    • Fix Version/s: 3.4.1
    • Component/s: dotnet
    • Labels:
      None

      Description

      The Gremlin.Net driver throws a NoConnectionAvailableException if it can't get a connection from the pool. This can happen in two cases:

      1. All connections are busy (reached their max requests in flight limit)
      2. 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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Florian Hockmann Florian Hockmann
                Reporter:
                Florian Hockmann Florian Hockmann
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: