-
Notifications
You must be signed in to change notification settings - Fork 75
Gremlin driver throwing connection timeout exception after several requests #196
Comments
@jothybabu |
@Incarnation-p-lee Can you please tell the date which you are planning for the next release |
@jothybabu |
Signed-off-by: Pan Li <panli@microsoft.com>
Any news? It is a serious issue does not allow our company to use Cosmos Graph.. |
Solved by:
|
Hey I run into your answer while searching for possible solution to the exact error message. Can you elaborate more on which gremlin you used that solved this exception? we are currently using 3.3.2 and we are bombed by this one. Thank you. |
It is related just for CosmosDb+Gremlin API which is not so good solution because of bad performance, cost and Tinkerpop query compliance. At least CosmosDb+Gremlin API can not really operate over 300K objects effectively. So I decided to use another solution. |
thank you for the answer. i thought upgrading the api would work. |
Closing this issue. |
I am getting the same timeout exception I was getting with version 3.2.4: java.lang.RuntimeException: java.util.concurrent.TimeoutException: Timed out while waiting for an available host - check the client configuration and connectivity to the server if this message persists. |
Expected Behavior
Spring data gremlin driver throws timeout exception after serving several request.If the latest version of gremlin - driver is used,it automatically reconnects and works as expected.
Current Behavior
After several requests get the following error : gets the error - "java.lang.RuntimeException: java.util.concurrent.TimeoutException: Timed out while waiting for an available host - check the client configuration and connectivity to the server if this message persists".
Possible Solution
The issue is with the gremlin-driver version used by the spring-data-gremlin. Please refer apache issues to find the issue with used version of gremlin driver(version - 3.2.4) - https://issues.apache.org/jira/browse/TINKERPOP-2044
They have fixed the issue in the latest gremlin-driver versions.Please release a new spring -data gremlin version with the following dependency :
org.apache.tinkerpop
gremlin-driver
3.4.0
3.4.0 or higher version can be used.
Steps to Reproduce (for bugs)
Reference : https://issues.apache.org/jira/browse/TINKERPOP-2044
Snapshot Code for Reproduce
Branch
master
Your Environment
The text was updated successfully, but these errors were encountered: