You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use node-zookeeper-client to connect zookeeper which version is 3.4.1(docker), it sometimes throw the following exception "app.js:10
at checkOffset (buffer.js:972:11)
at Uint8Array.Buffer.readInt32BE (buffer.js:1137:5)
.....
at Array.forEach ()
at constructor.Record.deserialize
at ConnectionManager.onSocketData
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
I add the console log here 👍
case 'buffer':
try {
length = buffer.readInt32BE(offset);
} catch (err) {
console.log("buffer's length is: " + buffer.length + " offset is " + offset)
throw err
}
When throw it , I check the buffer length is 20, and offset is 20 too.
Can you help to check this ,thanks!
The text was updated successfully, but these errors were encountered:
I use node-zookeeper-client to connect zookeeper which version is 3.4.1(docker), it sometimes throw the following exception "app.js:10
at checkOffset (buffer.js:972:11)
at Uint8Array.Buffer.readInt32BE (buffer.js:1137:5)
.....
at Array.forEach ()
at constructor.Record.deserialize
at ConnectionManager.onSocketData
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
I add the console log here 👍
case 'buffer':
try {
length = buffer.readInt32BE(offset);
} catch (err) {
console.log("buffer's length is: " + buffer.length + " offset is " + offset)
throw err
When throw it , I check the buffer length is 20, and offset is 20 too.
Can you help to check this ,thanks!
The text was updated successfully, but these errors were encountered: