iisnode encountered an error when processing the request.
HRESULT: 0x2 HTTP status: 500 HTTP subStatus: 1002 HTTP reason: Internal Server Error
You are receiving this HTTP 200 response because system.webServer/iisnode/@devErrorsEnabled configuration setting is 'true'.
In addition to the log of stdout and stderr of the node.exe process, consider using debugging and ETW traces to further diagnose the problem.
The last 64k of the output generated by the node.exe process to stderr is shown below:
(node:46876) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
DB connection error: Error
at Query.run (F:\Domains\begatech.co.za\worker.begatech.co.za\node_modules\sequelize\lib\dialects\mysql\query.js:52:25)
at F:\Domains\begatech.co.za\worker.begatech.co.za\node_modules\sequelize\lib\sequelize.js:315:28
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async User.sync (F:\Domains\begatech.co.za\worker.begatech.co.za\node_modules\sequelize\lib\model.js:984:11)
at async Sequelize.sync (F:\Domains\begatech.co.za\worker.begatech.co.za\node_modules\sequelize\lib\sequelize.js:377:9)
at async initDB (F:\Domains\begatech.co.za\worker.begatech.co.za\app.js:35:9)
at async start (F:\Domains\begatech.co.za\worker.begatech.co.za\server.js:44:5) {
name: 'SequelizeDatabaseError',
parent: Error: Too many keys specified; max 64 keys allowed
at Packet.asError (F:\Domains\begatech.co.za\worker.begatech.co.za\node_modules\mysql2\lib\packets\packet.js:740:17)
at Query.execute (F:\Domains\begatech.co.za\worker.begatech.co.za\node_modules\mysql2\lib\commands\command.js:29:26)
at Connection.handlePacket (F:\Domains\begatech.co.za\worker.begatech.co.za\node_modules\mysql2\lib\base\connection.js:477:34)
at PacketParser.onPacket (F:\Domains\begatech.co.za\worker.begatech.co.za\node_modules\mysql2\lib\base\connection.js:93:12)
at PacketParser.executeStart (F:\Domains\begatech.co.za\worker.begatech.co.za\node_modules\mysql2\lib\packet_parser.js:75:16)
at Socket.<anonymous> (F:\Domains\begatech.co.za\worker.begatech.co.za\node_modules\mysql2\lib\base\connection.js:100:25)
at Socket.emit (node:events:517:28)
at addChunk (node:internal/streams/readable:368:12)
at readableAddChunk (node:internal/streams/readable:341:9)
at Readable.push (node:internal/streams/readable:278:10) {
code: 'ER_TOO_MANY_KEYS',
errno: 1069,
sqlState: '42000',
sqlMessage: 'Too many keys specified; max 64 keys allowed',
sql: 'ALTER TABLE `users` CHANGE `email` `email` VARCHAR(160) NOT NULL UNIQUE;',
parameters: undefined
},
original: Error: Too many keys specified; max 64 keys allowed
at Packet.asError (F:\Domains\begatech.co.za\worker.begatech.co.za\node_modules\mysql2\lib\packets\packet.js:740:17)
at Query.execute (F:\Domains\begatech.co.za\worker.begatech.co.za\node_modules\mysql2\lib\commands\command.js:29:26)
at Connection.handlePacket (F:\Domains\begatech.co.za\worker.begatech.co.za\node_modules\mysql2\lib\base\connection.js:477:34)
at PacketParser.onPacket (F:\Domains\begatech.co.za\worker.begatech.co.za\node_modules\mysql2\lib\base\connection.js:93:12)
at PacketParser.executeStart (F:\Domains\begatech.co.za\worker.begatech.co.za\node_modules\mysql2\lib\packet_parser.js:75:16)
at Socket.<anonymous> (F:\Domains\begatech.co.za\worker.begatech.co.za\node_modules\mysql2\lib\base\connection.js:100:25)
at Socket.emit (node:events:517:28)
at addChunk (node:internal/streams/readable:368:12)
at readableAddChunk (node:internal/streams/readable:341:9)
at Readable.push (node:internal/streams/readable:278:10) {
code: 'ER_TOO_MANY_KEYS',
errno: 1069,
sqlState: '42000',
sqlMessage: 'Too many keys specified; max 64 keys allowed',
sql: 'ALTER TABLE `users` CHANGE `email` `email` VARCHAR(160) NOT NULL UNIQUE;',
parameters: undefined
},
sql: 'ALTER TABLE `users` CHANGE `email` `email` VARCHAR(160) NOT NULL UNIQUE;',
parameters: {}
}