Skip to content

Error: UNKNOWN_CODE_PLEASE_REPORT: Connection was killed #2350

Open
@Apollon77

Description

@Apollon77

https://sentry.iobroker.net/share/issue/bfbf00157f54442ea5e04695ae4cf661/

Error: UNKNOWN_CODE_PLEASE_REPORT: Connection was killed
  File "/opt/iobroker/node_modules/mysql/lib/protocol/sequences/Sequence.js", line 47, col 14, in Quit.Sequence._packetToError
    var err  = new Error(code + ': ' + packet.message);
  File "/opt/iobroker/node_modules/mysql/lib/protocol/sequences/Sequence.js", line 96, col 17, in Quit.Sequence.ErrorPacket
    this.end(this._packetToError(packet));
  File "/opt/iobroker/node_modules/mysql/lib/protocol/Protocol.js", line 291, col 23, in Protocol._parsePacket
    sequence[packetName](packet);
  File "/opt/iobroker/node_modules/mysql/lib/protocol/Parser.js", line 433, col 10, in Parser._parsePacket
    this._onPacket(packetHeader);
  File "/opt/iobroker/node_modules/mysql/lib/protocol/Parser.js", line 43, col 10, in Parser.write
    this._parsePacket(packetHeader);
  File "/opt/iobroker/node_modules/mysql/lib/protocol/Protocol.js", line 38, col 16, in Protocol.write
    this._parser.write(buffer);
  File "/opt/iobroker/node_modules/mysql/lib/Connection.js", line 88, col 28, in Socket.<anonymous>
    connection._protocol.write(data);
  File "/opt/iobroker/node_modules/mysql/lib/Connection.js", line 526, col 10, in Socket.<anonymous>
    fn.apply(this, arguments);
  File "events.js", line 198, col 13, in Socket.emit
  File "domain.js", line 448, col 20, in Socket.EventEmitter.emit
  File "    --------------------", in null.<anonymous>
  File "/opt/iobroker/node_modules/mysql/lib/protocol/Protocol.js", line 144, col 48, in Protocol._enqueue
    sequence._callSite = sequence._callSite || new Error();
  File "/opt/iobroker/node_modules/mysql/lib/protocol/Protocol.js", line 91, col 23, in Protocol.quit
    var sequence = this._enqueue(new Sequences.Quit(options, callback));
  File "/opt/iobroker/node_modules/mysql/lib/Connection.js", line 239, col 18, in Connection.end
    this._protocol.quit(opts, wrapCallbackInDomain(this, cb));
  File "/opt/iobroker/node_modules/sql-client/lib/connection-factory.js", line 22, col 20, in MySQLConnectionFactory.close_connection
    connection.end();
  File "/opt/iobroker/node_modules/sql-client/lib/sql-client.js", line 51, col 29, in SQLClient.disconnect
    return this.factory.close_connection(this.connection, (err) => {
  File "/opt/iobroker/node_modules/sql-client/lib/sql-client-pool.js", line 42, col 25, in MySQLClientPool.destroy
    return client.disconnect(callback);
  File "/opt/iobroker/node_modules/sql-client/lib/sql-client-pool.js", line 234, col 31, in passivate
    return this.destroy(client, callback);
  File "/opt/iobroker/node_modules/sql-client/lib/sql-client-pool.js", line 37, col 16, in MySQLClientPool.passivate
    return callback(null, client);
  File "/opt/iobroker/node_modules/sql-client/lib/sql-client-pool.js", line 227, col 25, in MySQLClientPool.return
    return this.passivate(client, (err, client) => {
  File "/opt/iobroker/node_modules/iobroker.sql/main.js", line 246, col 43, in returnClientToPool
    return clientPool && clientPool.return(client);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions