Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERR_BUFFER_OUT_OF_BOUNDS #145

Open
sam26880 opened this issue Sep 22, 2022 · 1 comment
Open

ERR_BUFFER_OUT_OF_BOUNDS #145

sam26880 opened this issue Sep 22, 2022 · 1 comment

Comments

@sam26880
Copy link

I sometime get this error

**Error: Packets out of order. Got: 247 Expected: 52
err.code: PROTOCOL_PACKETS_OUT_OF_ORDER**

any idea what is causing this and how do we go about fixing this?

@elderapo
Copy link

I am getting similar errors:

Warning: got packets out of order. Expected 24 but received 0
Warning: got packets out of order. Expected 24 but received 0
Warning: got packets out of order. Expected 8 but received 0
Warning: got packets out of order. Expected 24 but received 0
Warning: got packets out of order. Expected 24 but received 0
Warning: got packets out of order. Expected 24 but received 0
Warning: got packets out of order. Expected 24 but received 0
Warning: got packets out of order. Expected 7 but received 0
Warning: got packets out of order. Expected 24 but received 0
Warning: got packets out of order. Expected 7 but received 0


Error: Packets out of order. Got: 0 Expected: 30
    at Parser._tryReadPacketHeader (/usr/src/app/node_modules/@vlasky/mysql/lib/protocol/Parser.js:640:15)
    at Parser.write (/usr/src/app/node_modules/@vlasky/mysql/lib/protocol/Parser.js:46:29)
    at Protocol.write (/usr/src/app/node_modules/@vlasky/mysql/lib/protocol/Protocol.js:39:16)
    at Socket.<anonymous> (/usr/src/app/node_modules/@vlasky/mysql/lib/Connection.js:88:28)
    at Socket.<anonymous> (/usr/src/app/node_modules/@vlasky/mysql/lib/Connection.js:529:10)
    at Socket.emit (node:events:527:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:289:9)
    at Socket.Readable.push (node:internal/streams/readable:228:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
  code: 'PROTOCOL_PACKETS_OUT_OF_ORDER',
  fatal: true
}!

Error: Packets out of order. Got: 0 Expected: 13
    at Parser._tryReadPacketHeader (/usr/src/app/node_modules/@vlasky/mysql/lib/protocol/Parser.js:640:15)
    at Parser.write (/usr/src/app/node_modules/@vlasky/mysql/lib/protocol/Parser.js:46:29)
    at Protocol.write (/usr/src/app/node_modules/@vlasky/mysql/lib/protocol/Protocol.js:39:16)
    at Socket.<anonymous> (/usr/src/app/node_modules/@vlasky/mysql/lib/Connection.js:88:28)
    at Socket.<anonymous> (/usr/src/app/node_modules/@vlasky/mysql/lib/Connection.js:529:10)
    at Socket.emit (node:events:527:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:289:9)
    at Socket.Readable.push (node:internal/streams/readable:228:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
  code: 'PROTOCOL_PACKETS_OUT_OF_ORDER',
  fatal: true
}!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants