Giter Club home page Giter Club logo

Comments (9)

wey-gu avatar wey-gu commented on June 13, 2024 1

推荐在另外单机的环境里用相同代码重现问题,如果不出现,说明可能是网络问题

from ngbatis.

wey-gu avatar wey-gu commented on June 13, 2024 1

我与另一个同事出现这个问题,都在频繁切换图空间时产生,不知与这个异常有没有关系。

@wey-gu 频繁切换图空间会导致session的连接重置吗?

不会的,这些都是 tcp 里的 rpc call,切换 space 和其他 query 在连接层面没有区别的

from ngbatis.

CorvusYe avatar CorvusYe commented on June 13, 2024

大概多久的时候出现这种情况的,中间是否经历过断网的状态

from ngbatis.

entryzz avatar entryzz commented on June 13, 2024

程序上一次成功查询图库是5分钟前,中途没有断网。这个问题不是经常出现,但偶尔会出现,当出现连接不上异常后就永远连不上了。

from ngbatis.

entryzz avatar entryzz commented on June 13, 2024

我与另一个同事出现这个问题,都在频繁切换图空间时产生,不知与这个异常有没有关系。

from ngbatis.

CorvusYe avatar CorvusYe commented on June 13, 2024

我在论坛上能搜到 Connection reset by peer 相关的帖子,其中有一篇帖子指向了这篇文档:常见问题 FAQ - Nebula Graph Database 手册

不确定跟这个问题是否有关系。

或者可以参考另一个 issue #80 将两个时间调短。

如果还是不能解决的话,可能ngbatis就需要在 LocalSession poll 的时候做 session.ping 的改造了

from ngbatis.

wey-gu avatar wey-gu commented on June 13, 2024

不应该,如果 graphD 那边没有 crash、报错,怀疑网络不稳定,能排除这一点么?

from ngbatis.

CorvusYe avatar CorvusYe commented on June 13, 2024

我与另一个同事出现这个问题,都在频繁切换图空间时产生,不知与这个异常有没有关系。

@wey-gu 频繁切换图空间会导致session的连接重置吗?

from ngbatis.

CorvusYe avatar CorvusYe commented on June 13, 2024

@hejiahuichengxuyuan @entryzz 如果是网络的问题,可以按#80 的方法先试着将session健康检查的时间间隔调到分钟级看看问题还会不会出现

from ngbatis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.