Comments (8)
你这是打了断点,然后访问超时
from alibaba-rsocket-broker.
你这是打了断点,然后访问超时
我是在 IDEA 中直接 Run 的,没打断点没 Debug
from alibaba-rsocket-broker.
@AhianZhang 建议具体确认下发生了啥,因为超时时间是65s,跟6小时没关系
from alibaba-rsocket-broker.
这个错误是对的。 目前的配置是 13 x 5 也就是65秒。 @xiazuojie 会和我一起看一下,他之前解决过这个问题。
clientRSocketFactory
.keepAlive(Duration.ofSeconds(5), Duration.ofSeconds(5), 12)
from alibaba-rsocket-broker.
目前有两个小问题,一个是requester要感知服务端关闭啦, 如下:
rsocket/rsocket-java#603
另外一个是keep alive的问题:
rsocket/rsocket-java#712
from alibaba-rsocket-broker.
目前的解决方案是在LoadBalancedRSocket添加一个 startHealthCheckTimer() ,会进行每15秒钟的连接检查,如果连接不可用,会重新创建连接 c3e5ea4
from alibaba-rsocket-broker.
客户端在调用请求时,如果是ClosedChannelException,则进行两个操作: 将失败的连接删除并尝试重新连接,然后调用retry函数,拿到新的连接然后进操作。
from alibaba-rsocket-broker.
新的LoadBalancedRSocket已经添加了连接健康度检查,同时在调用的时候出现连接错误也会重试。 如果还出现这个错误,告知一下 :) https://github.com/alibaba/alibaba-rsocket-broker/blob/master/alibaba-rsocket-core/src/main/java/com/alibaba/rsocket/loadbalance/LoadBalancedRSocket.java
from alibaba-rsocket-broker.
Related Issues (20)
- java 17 支持 HOT 9
- 我在尝试使用SpringBoot3.0构建NativeImages,但是无法正确获取到反射的类 HOT 7
- 关于项目不温不火的疑惑
- 启动一会用了一段时间后日志报错,web接口调用也失败 HOT 1
- Dependency org.yaml:snakeyaml, leading to CVE problem
- Upgrade RSocket Broker to Java 17 HOT 1
- 使用 p2p-service,必须在 application.properties,同时通过 rsocket.routes[0] 指定 provider 才生效 HOT 1
- broker 拒绝 accept 连接时,是否未关闭 requesterSocket HOT 1
- 编译报错mvn -DskipTests clean package HOT 3
- 会有 dubbo-gateway 功能模块吗?
- 服务注册异常 HOT 3
- 通过 RSocketConfigPropertySourceLocator 获取的配置信息字符串,一头一尾各多一个双引号 HOT 1
- 在 wiki 文章《RSocket二进制和流式数据支持: RSocket Binary》中的一些疑问 HOT 1
- springBoot由2.3.4升级到2.7.10后rsocket不兼容 HOT 1
- 怎么在requester中动态添加属性或者标签,在RSocketFilter中根据属性来动态分发路由
- 想问下关于RSocket的发展 HOT 3
- 现在能作为api网关直接用nginx 访问broker请求业务吗 HOT 3
- In the yaml, if rsocket.brokers is list, `RSocketBrokerHealthIndicator` is not registered. HOT 6
- 服务在线约3分钟后,appNotificationProcessor 会发射离线信号?
- 希望在发版时 能提供对应的 jar 包,下载后在编译太麻烦了,很多依赖需要下载,好长时间的啊
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alibaba-rsocket-broker.