omnip620 / node-zookeeper-dubbo

A middleware helps node to communicate dubbo by using its default protocol, which is registered in zookeeper
300 stars 80 forks source link

运行demo遇到问题,为何Dubbo service init done没出来,却等到了warning?? #94

Open zzyundragon opened 5 years ago

zzyundragon commented 5 years ago
 WARNING: The attribute 'register' is deprecated and will be removed in the future version. Use registry instead.
 FATAL: It seems that zookeeper cannot be connected, please check registry address or try later.
 /Users/zhaoyunlong/runApi/node_modules/node-zookeeper-client/lib/jute/index.js:465
    throw new Error('offset: ' + offset + ' is out of buffer range.');
    ^

 Error: offset: 4 is out of buffer range.
 at constructor.Record.deserialize (/Users/zhaoyunlong/runApi/node_modules/node-zookeeper-client/lib/jute/index.js:465:15)
 at ConnectionManager.onSocketData (/Users/zhaoyunlong/runApi/node_modules/node-zookeeper-client/lib/ConnectionManager.js:428:35)
 at emitOne (events.js:116:13)
 at Socket.emit (events.js:211:7)
 at addChunk (_stream_readable.js:263:12)
 at readableAddChunk (_stream_readable.js:250:11)
 at Socket.Readable.push (_stream_readable.js:208:10)
 at TCP.onread (net.js:594:20)