Code Monkey home page Code Monkey logo

Comments (9)

Linyuzai avatar Linyuzai commented on September 26, 2024

image
当在nacos注册了多实例的服务偶尔回去先这个错误。

了解了,你这边是在做什么操作的时候会触发还是说没有任何操作

from concept.

Mrzedward avatar Mrzedward commented on September 26, 2024

image
当在nacos注册了多实例的服务偶尔回去先这个错误。

了解了,你这边是在做什么操作的时候会触发还是说没有任何操作

我在nacos上注册了两个实例,然后通过gateway去调用,偶尔就会出现。

from concept.

Mrzedward avatar Mrzedward commented on September 26, 2024

image
当在nacos注册了多实例的服务偶尔回去先这个错误。

了解了,你这边是在做什么操作的时候会触发还是说没有任何操作

我在nacos上注册了两个实例,然后通过gateway去调用,偶尔就会出现。

image
zhe这是我自定义的ws接口

from concept.

Linyuzai avatar Linyuzai commented on September 26, 2024

image
当在nacos注册了多实例的服务偶尔回去先这个错误。

了解了,你这边是在做什么操作的时候会触发还是说没有任何操作

我在nacos上注册了两个实例,然后通过gateway去调用,偶尔就会出现。

image zhe这是我自定义的ws接口

你有加@OnMessage吗,如果你自己处理消息的话,也需要将接收到的PongMessage传给concept,不然连接的心跳信息更新不了

from concept.

Mrzedward avatar Mrzedward commented on September 26, 2024

image
当在nacos注册了多实例的服务偶尔回去先这个错误。

了解了,你这边是在做什么操作的时候会触发还是说没有任何操作

我在nacos上注册了两个实例,然后通过gateway去调用,偶尔就会出现。

image zhe这是我自定义的ws接口

你有加@OnMessage吗,如果你自己处理消息的话,也需要将接收到的PongMessage传给concept,不然连接的心跳信息更新不了

image
加了@OnMessage

from concept.

Linyuzai avatar Linyuzai commented on September 26, 2024

能打断点看到具体的报错的连接里面的数据吗

from concept.

Linyuzai avatar Linyuzai commented on September 26, 2024

能打断点看到具体的报错的连接里面的数据吗

就是哪个连接报错的

from concept.

Mrzedward avatar Mrzedward commented on September 26, 2024

能打断点看到具体的报错的连接里面的数据吗

就是哪个连接报错的

因为我一直掉我这个接口,然后参数也一样,心跳超时了,session.close((CloseReason) reason);这里报错不能转换。

from concept.

Linyuzai avatar Linyuzai commented on September 26, 2024

能打断点看到具体的报错的连接里面的数据吗

就是哪个连接报错的

因为我一直掉我这个接口,然后参数也一样,心跳超时了,session.close((CloseReason) reason);这里报错不能转换。

2.1.0的版本处理了强转异常,不过不知道你那边为什么会出现心跳超超时,可以看看接收到ping之后有没有回pong

from concept.

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.