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)