Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
None
-
None
Description
see https://github.com/mariadb-corporation/mariadb-connector-nodejs/issues/132.
Unexpected error is thrown during connection :
TypeError [ERR_UNKNOWN_ENCODING]: Unknown encoding: <ref *1> Handshake { |
_events: [Object: null prototype], |
_eventsCount: 1, |
_maxListeners: undefined,
|
sequenceNo: 1, |
compressSequenceNo: -1, |
resolve: [Function: bound _authSucceedHandler],
|
reject: [Function: bound _authFailHandler],
|
sending: false, |
_createSecureContext: [Function: bound _createSecureContext],
|
_addCommand: [Function: bound _addCommandEnable],
|
getSocket: [Function: _getSocket],
|
onPacketReceive: [Function: parseHandshakeInit],
|
plugin: [Circular *1], |
[Symbol(kCapture)]: false |
}
|
at new NodeError (internal/errors.js:253:15) |
at Socket.Writable.write (_stream_writable.js:296:13) |
at PacketOutputStream.flushBufferBasic (/.../rollup-demo/modules/esm/rollup-koa/node_modules/mariadb/lib/io/packet-output-stream.js:444:17) |
at Object.send (/.../rollup-demo/modules/esm/rollup-koa/node_modules/mariadb/lib/cmd/handshake/client-handshake-response.js:118:7) |
at Handshake.parseHandshakeInit (/.../rollup-demo/modules/esm/rollup-koa/node_modules/mariadb/lib/cmd/handshake/handshake.js:82:31) |
at PacketInputStream.receivePacketBasic (/.../rollup-demo/modules/esm/rollup-koa/node_modules/mariadb/lib/io/packet-input-stream.js:104:9) |
at PacketInputStream.onData (/.../rollup-demo/modules/esm/rollup-koa/node_modules/mariadb/lib/io/packet-input-stream.js:169:20) |
at Socket.emit (events.js:326:20) |
at addChunk (_stream_readable.js:322:12) |
at readableAddChunk (_stream_readable.js:297:9) { |
code: 'ERR_UNKNOWN_ENCODING' |