Replies: 1 comment 2 replies
|
TSocket read 0 bytes means connection was closed by server unexpectedly. common causes:
# increase timeout
config = Config()
config.timeout = 60000 # ms
pool.init([...], config)
# increase pool size
session_pool = SessionPool(
user_name="root",
password="nebula",
space_name="your_space",
addresses=[("127.0.0.1", 9669)],
pool_size=30 # increase from default
)
from tenacity import retry, stop_after_attempt
@retry(stop=stop_after_attempt(3))
def execute_query(session_pool, query):
return session_pool.execute(query)
docker logs nebula-graphdlook for OOM or connection errors
what version of nebula are you using? and is this happening under high load? |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
hi everyone, i am randomly getting these errors
while running INSERT VERTEX command or LOOKUP commands
i am also not able to find these error code on https://docs.nebula-graph.io/3.8.0/20.appendix/error-code/
for any reference
can anyone please help for any possible reason for this to be happening and how this can be solved
All reactions