You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "luruozhou (GitHub)" <gi...@apache.org> on 2020/01/18 15:12:07 UTC
[GitHub] [dubbo-js] luruozhou commented on issue #80: Node进程会偶尔与zk集群断开连接,导致socket无可用agent
> 很想把这个问题fixed掉,log里面这个-4 我找到了源码中对应的代码
>
> ```
> {
> at ConnectionManager.queue (/node/node_modules/node-zookeeper-client/lib/ConnectionManager.js:720:28)
> code: -4,
> name: 'CONNECTION_LOSS',
> path: undefined,
> message: 'Exception: CONNECTION_LOSS[-4]',
> host: '1.1.1.2',
> time: '2019-01-08T02:38:07.056Z' }
> ```
>
> 
>
> 标记的状态是认证失败,也就是node的zk 连不上server端了 或者连上了但是拒绝查询children导致每次查询的时候都是拿一个空的agentList去匹配可用的socket-worker节点。
这里的 -4 是Exception.js里的状态,代表CONNECTION_LOSS。。。
[ Full content available at: https://github.com/apache/dubbo-js/issues/80 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org