You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2019/06/12 09:25:20 UTC

[GitHub] [dubbo-js] hufeng edited a comment on issue #80: Node进程会偶尔与zk集群断开连接,导致socket无可用agent

hufeng edited a comment on issue #80: Node进程会偶尔与zk集群断开连接,导致socket无可用agent
URL: https://github.com/apache/dubbo-js/issues/80#issuecomment-501184816
 
 
   很想把这个问题fixed掉,log里面这个-4 我找到了源码中对应的代码
   
   ```text
   {
       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' }
   ```
   
   ![image](https://user-images.githubusercontent.com/533008/59337551-6b074d80-8d33-11e9-9705-e465999ab627.png)
   
   
   标记的状态是认证失败,也就是node的zk 连不上server端了 或者连上了但是拒绝查询children导致每次查询的时候都是拿一个空的agentList去匹配可用的socket-worker节点。
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org