{"code":"ENETUNREACH","errno":"ENETUNREACH","level":"error","message":"Error launching Telegram bot: request to https://api.telegram.org/bot7498026249:[REDACTED]/getMe failed, reason: connect ENETUNREACH 2001:67c:4e8:f004::9:443 - Local (:::0)","stack":"FetchError: request to https://api.telegram.org/bot7498026249:[REDACTED]/getMe failed, reason: connect ENETUNREACH 2001:67c:4e8:f004::9:443 - Local (:::0)\n at ClientRequest. (/app/node_modules/node-fetch/lib/index.js:1501:11)\n at ClientRequest.emit (node:events:524:28)\n at emitErrorEvent (node:_http_client:101:11)\n at TLSSocket.socketErrorListener (node:_http_client:504:5)\n at TLSSocket.emit (node:events:524:28)\n at emitErrorNT (node:internal/streams/destroy:169:8)\n at emitErrorCloseNT (node:internal/streams/destroy:128:3)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","timestamp":"2025-05-22T10:08:06.855Z","type":"system"} {"level":"error","message":"Error: undefined","timestamp":"2025-05-22T10:13:14.109Z"} {"level":"error","message":"Error: undefined","timestamp":"2025-05-22T10:13:32.259Z"} {"level":"error","message":"Error: undefined","timestamp":"2025-05-22T10:15:50.550Z"} {"level":"error","message":"Error: undefined","timestamp":"2025-05-22T10:17:16.194Z"} {"code":"42703","file":"parse_relation.c","hint":"Perhaps you meant to reference the column \"user_identities.created_at\".","length":183,"level":"error","line":"3729","message":"[IdentityService] Error finding wallet identity for user 1: column \"updated_at\" does not exist","name":"error","position":"43","routine":"errorMissingColumn","severity":"ERROR","stack":"error: column \"updated_at\" does not exist\n at /app/node_modules/pg-pool/index.js:45:11\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async IdentityService.findIdentity (/app/services/identity-service.js:258:22)\n at async /app/routes/auth.js:368:32","timestamp":"2025-05-22T10:23:20.333Z"} {"level":"error","message":"Error launching Telegram bot: 404: Not Found","on":{"method":"getMe","payload":{}},"response":{"description":"Not Found","error_code":404,"ok":false},"stack":"Error: 404: Not Found\n at Telegram.callApi (/app/node_modules/telegraf/lib/core/network/client.js:315:19)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Telegraf.launch (/app/node_modules/telegraf/lib/telegraf.js:188:78)\n at async getBot (/app/services/telegramBot.js:255:5)\n at async initServices (/app/server.js:35:7)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T10:28:07.421Z"} {"code":"ENETUNREACH","level":"error","message":"[getUserTokenBalances] Ошибка получения баланса для HB3A (0xdCe769b847a0a697239777D0B1C7dd33b6012ba0) в сети arbitrum:","stack":"AggregateError [ENETUNREACH]: \n at internalConnectMultiple (node:net:1122:18)\n at internalConnectMultiple (node:net:1190:5)\n at internalConnectMultiple (node:net:1190:5)\n at defaultTriggerAsyncIdScope (node:internal/async_hooks:464:18)\n at GetAddrInfoReqWrap.emitLookup [as callback] (node:net:1526:7)\n at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:132:8)","timestamp":"2025-05-22T10:31:59.871Z"} {"code":"ENETUNREACH","errno":"ENETUNREACH","level":"error","message":"Error launching Telegram bot: request to https://api.telegram.org/bot7498026249:[REDACTED]/getMe failed, reason: connect ENETUNREACH 2001:67c:4e8:f004::9:443 - Local (:::0)","stack":"FetchError: request to https://api.telegram.org/bot7498026249:[REDACTED]/getMe failed, reason: connect ENETUNREACH 2001:67c:4e8:f004::9:443 - Local (:::0)\n at ClientRequest. (/app/node_modules/node-fetch/lib/index.js:1501:11)\n at ClientRequest.emit (node:events:524:28)\n at emitErrorEvent (node:_http_client:101:11)\n at TLSSocket.socketErrorListener (node:_http_client:504:5)\n at TLSSocket.emit (node:events:524:28)\n at emitErrorNT (node:internal/streams/destroy:169:8)\n at emitErrorCloseNT (node:internal/streams/destroy:128:3)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","timestamp":"2025-05-22T10:35:13.309Z","type":"system"} {"code":"ENETUNREACH","level":"error","message":"[getUserTokenBalances] Ошибка получения баланса для HB3A (0xdCe769b847a0a697239777D0B1C7dd33b6012ba0) в сети arbitrum:","stack":"AggregateError [ENETUNREACH]: \n at internalConnectMultiple (node:net:1122:18)\n at internalConnectMultiple (node:net:1190:5)\n at internalConnectMultiple (node:net:1190:5)\n at defaultTriggerAsyncIdScope (node:internal/async_hooks:464:18)\n at GetAddrInfoReqWrap.emitLookup [as callback] (node:net:1526:7)\n at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:132:8)","timestamp":"2025-05-22T11:10:09.263Z"} {"code":"ECONNREFUSED","level":"error","message":"Error launching Telegram bot:","stack":"AggregateError [ECONNREFUSED]: \n at /app/node_modules/pg-pool/index.js:45:11\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async getTelegramSettings (/app/services/telegramBot.js:13:20)\n at async getBot (/app/services/telegramBot.js:22:22)\n at async initServices (/app/server.js:35:7)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T11:18:06.450Z"} {"code":"ECONNREFUSED","level":"error","message":"Error launching Telegram bot:","stack":"AggregateError [ECONNREFUSED]: \n at /app/node_modules/pg-pool/index.js:45:11\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async getTelegramSettings (/app/services/telegramBot.js:13:20)\n at async getBot (/app/services/telegramBot.js:22:22)\n at async initServices (/app/server.js:35:7)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T11:19:03.150Z"} {"code":"ECONNREFUSED","level":"error","message":"Error launching Telegram bot:","stack":"AggregateError [ECONNREFUSED]: \n at /app/node_modules/pg-pool/index.js:45:11\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async getTelegramSettings (/app/services/telegramBot.js:13:20)\n at async getBot (/app/services/telegramBot.js:22:22)\n at async initServices (/app/server.js:35:7)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T11:19:22.997Z"} {"code":"ECONNREFUSED","level":"error","message":"Error launching Telegram bot:","stack":"AggregateError [ECONNREFUSED]: \n at /app/node_modules/pg-pool/index.js:45:11\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async getTelegramSettings (/app/services/telegramBot.js:13:20)\n at async getBot (/app/services/telegramBot.js:22:22)\n at async initServices (/app/server.js:35:7)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T11:32:50.019Z"} {"code":"ECONNREFUSED","level":"error","message":"Error launching Telegram bot:","stack":"AggregateError [ECONNREFUSED]: \n at /app/node_modules/pg-pool/index.js:45:11\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async getTelegramSettings (/app/services/telegramBot.js:13:20)\n at async getBot (/app/services/telegramBot.js:22:22)\n at async initServices (/app/server.js:35:7)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T11:36:54.404Z"} {"code":"ECONNREFUSED","level":"error","message":"Error launching Telegram bot:","stack":"AggregateError [ECONNREFUSED]: \n at /app/node_modules/pg-pool/index.js:45:11\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async getTelegramSettings (/app/services/telegramBot.js:13:20)\n at async getBot (/app/services/telegramBot.js:22:22)\n at async initServices (/app/server.js:35:7)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T11:38:37.130Z"} {"code":"ECONNREFUSED","level":"error","message":"Error launching Telegram bot:","stack":"AggregateError [ECONNREFUSED]: \n at /app/node_modules/pg-pool/index.js:45:11\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async getTelegramSettings (/app/services/telegramBot.js:13:20)\n at async getBot (/app/services/telegramBot.js:22:22)\n at async initServices (/app/server.js:35:7)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T11:40:58.680Z"} {"code":"ECONNREFUSED","level":"error","message":"Error launching Telegram bot:","stack":"AggregateError [ECONNREFUSED]: \n at /app/node_modules/pg-pool/index.js:45:11\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async getTelegramSettings (/app/services/telegramBot.js:13:20)\n at async getBot (/app/services/telegramBot.js:22:22)\n at async initServices (/app/server.js:35:7)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T11:42:31.758Z"} {"code":"ECONNREFUSED","level":"error","message":"Error launching Telegram bot:","stack":"AggregateError [ECONNREFUSED]: \n at /app/node_modules/pg-pool/index.js:45:11\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async getTelegramSettings (/app/services/telegramBot.js:13:20)\n at async getBot (/app/services/telegramBot.js:22:22)\n at async initServices (/app/server.js:35:7)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T11:42:36.298Z"} {"code":"ECONNREFUSED","level":"error","message":"Error launching Telegram bot:","stack":"AggregateError [ECONNREFUSED]: \n at /app/node_modules/pg-pool/index.js:45:11\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async getTelegramSettings (/app/services/telegramBot.js:13:20)\n at async getBot (/app/services/telegramBot.js:22:22)\n at async initServices (/app/server.js:35:7)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T11:42:57.653Z"} {"code":"ECONNREFUSED","level":"error","message":"Error launching Telegram bot:","stack":"AggregateError [ECONNREFUSED]: \n at /app/node_modules/pg-pool/index.js:45:11\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async getTelegramSettings (/app/services/telegramBot.js:13:20)\n at async getBot (/app/services/telegramBot.js:22:22)\n at async initServices (/app/server.js:35:7)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T11:46:50.798Z"} {"code":"ECONNREFUSED","level":"error","message":"Error launching Telegram bot:","stack":"AggregateError [ECONNREFUSED]: \n at /app/node_modules/pg-pool/index.js:45:11\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async getTelegramSettings (/app/services/telegramBot.js:13:20)\n at async getBot (/app/services/telegramBot.js:22:22)\n at async initServices (/app/server.js:35:7)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T11:46:54.659Z"} {"code":"ECONNREFUSED","level":"error","message":"Error launching Telegram bot:","stack":"AggregateError [ECONNREFUSED]: \n at /app/node_modules/pg-pool/index.js:45:11\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async getTelegramSettings (/app/services/telegramBot.js:13:20)\n at async getBot (/app/services/telegramBot.js:22:22)\n at async initServices (/app/server.js:35:7)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T11:48:11.768Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T11:56:56.984Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T11:57:50.382Z"} {"level":"error","message":"Unhandled Rejection: pool.query is not a function","stack":"TypeError: pool.query is not a function\n at /app/app.js:92:31\n at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n at trim_prefix (/app/node_modules/express/lib/router/index.js:328:13)\n at /app/node_modules/express/lib/router/index.js:286:9\n at Function.process_params (/app/node_modules/express/lib/router/index.js:346:12)\n at next (/app/node_modules/express/lib/router/index.js:280:10)\n at /app/node_modules/express-session/index.js:514:7\n at /app/node_modules/connect-pg-simple/index.js:370:18\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","timestamp":"2025-05-22T11:57:55.063Z"} {"level":"error","message":"Unhandled Rejection: pool.query is not a function","stack":"TypeError: pool.query is not a function\n at /app/app.js:92:31\n at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n at trim_prefix (/app/node_modules/express/lib/router/index.js:328:13)\n at /app/node_modules/express/lib/router/index.js:286:9\n at Function.process_params (/app/node_modules/express/lib/router/index.js:346:12)\n at next (/app/node_modules/express/lib/router/index.js:280:10)\n at /app/node_modules/express-session/index.js:514:7\n at /app/node_modules/connect-pg-simple/index.js:370:18\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","timestamp":"2025-05-22T11:57:59.985Z"} {"level":"error","message":"Unhandled Rejection: pool.query is not a function","stack":"TypeError: pool.query is not a function\n at /app/app.js:92:31\n at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n at trim_prefix (/app/node_modules/express/lib/router/index.js:328:13)\n at /app/node_modules/express/lib/router/index.js:286:9\n at Function.process_params (/app/node_modules/express/lib/router/index.js:346:12)\n at next (/app/node_modules/express/lib/router/index.js:280:10)\n at /app/node_modules/express-session/index.js:514:7\n at /app/node_modules/connect-pg-simple/index.js:370:18\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","timestamp":"2025-05-22T11:58:14.446Z"} {"level":"error","message":"Unhandled Rejection: pool.query is not a function","stack":"TypeError: pool.query is not a function\n at /app/app.js:92:31\n at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n at trim_prefix (/app/node_modules/express/lib/router/index.js:328:13)\n at /app/node_modules/express/lib/router/index.js:286:9\n at Function.process_params (/app/node_modules/express/lib/router/index.js:346:12)\n at next (/app/node_modules/express/lib/router/index.js:280:10)\n at /app/node_modules/express-session/index.js:514:7\n at /app/node_modules/connect-pg-simple/index.js:370:18\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","timestamp":"2025-05-22T11:58:14.448Z"} {"level":"error","message":"Unhandled Rejection: pool.query is not a function","stack":"TypeError: pool.query is not a function\n at /app/app.js:92:31\n at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n at trim_prefix (/app/node_modules/express/lib/router/index.js:328:13)\n at /app/node_modules/express/lib/router/index.js:286:9\n at Function.process_params (/app/node_modules/express/lib/router/index.js:346:12)\n at next (/app/node_modules/express/lib/router/index.js:280:10)\n at /app/node_modules/express-session/index.js:514:7\n at /app/node_modules/connect-pg-simple/index.js:370:18\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","timestamp":"2025-05-22T11:58:14.453Z"} {"level":"error","message":"Unhandled Rejection: pool.query is not a function","stack":"TypeError: pool.query is not a function\n at /app/app.js:92:31\n at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n at trim_prefix (/app/node_modules/express/lib/router/index.js:328:13)\n at /app/node_modules/express/lib/router/index.js:286:9\n at Function.process_params (/app/node_modules/express/lib/router/index.js:346:12)\n at next (/app/node_modules/express/lib/router/index.js:280:10)\n at /app/node_modules/express-session/index.js:514:7\n at /app/node_modules/connect-pg-simple/index.js:370:18\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","timestamp":"2025-05-22T11:58:14.455Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T11:59:41.974Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T11:59:50.126Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T11:59:55.851Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T11:59:59.406Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T12:00:04.949Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T12:00:14.518Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T12:00:15.678Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T12:00:21.533Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T12:00:25.358Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T12:00:31.705Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T12:00:37.432Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T12:00:43.163Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T12:00:49.163Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T12:00:53.058Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T12:00:59.835Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T12:01:05.271Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T12:01:14.525Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T12:01:20.428Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T12:06:13.986Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T12:06:24.753Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:06:25.236Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:06:25.273Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:06:25.297Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:06:25.315Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:06:25.339Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:06:25.481Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:06:25.500Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:06:25.520Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:06:25.541Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:06:25.571Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:06:25.608Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:06:25.627Z"} {"level":"error","message":"Error fetching message history for user 1: db.query is not a function","stack":"TypeError: db.query is not a function\n at /app/routes/chat.js:446:36\n at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n at next (/app/node_modules/express/lib/router/route.js:149:13)\n at requireAuth (/app/middleware/auth.js:30:14)\n at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n at next (/app/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/app/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n at /app/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/app/node_modules/express/lib/router/index.js:346:12)","timestamp":"2025-05-22T12:06:26.935Z"} {"level":"error","message":"Error fetching message history for user 1: db.query is not a function","stack":"TypeError: db.query is not a function\n at /app/routes/chat.js:484:29\n at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n at next (/app/node_modules/express/lib/router/route.js:149:13)\n at requireAuth (/app/middleware/auth.js:30:14)\n at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n at next (/app/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/app/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n at /app/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/app/node_modules/express/lib/router/index.js:346:12)","timestamp":"2025-05-22T12:06:26.953Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:07:08.210Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:07:08.230Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:07:08.270Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:07:08.291Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:07:08.311Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:07:08.332Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:07:08.392Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:07:08.427Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:07:08.452Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:07:08.478Z"} {"level":"error","message":"Error getting db settings: db.query is not a function","stack":"TypeError: db.query is not a function\n at /app/routes/identities.js:214:31\n at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n at next (/app/node_modules/express/lib/router/route.js:149:13)\n at requireAuth (/app/middleware/auth.js:30:14)\n at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n at next (/app/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/app/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n at /app/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/app/node_modules/express/lib/router/index.js:346:12)","timestamp":"2025-05-22T12:07:09.967Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:07:09.975Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:07:09.991Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:07:10.008Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:07:10.028Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:07:10.049Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:07:10.064Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:07:10.082Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:07:10.100Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:07:10.122Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:07:10.140Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:12.203Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:12.218Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:12.235Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:12.250Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:12.270Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:12.292Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:12.312Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:12.332Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:12.352Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:12.372Z"} {"level":"error","message":"Error fetching message history for user 1: db.query is not a function","stack":"TypeError: db.query is not a function\n at /app/routes/chat.js:446:36\n at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n at next (/app/node_modules/express/lib/router/route.js:149:13)\n at requireAuth (/app/middleware/auth.js:30:14)\n at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n at next (/app/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/app/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n at /app/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/app/node_modules/express/lib/router/index.js:346:12)","timestamp":"2025-05-22T12:08:13.852Z"} {"level":"error","message":"Error fetching message history for user 1: db.query is not a function","stack":"TypeError: db.query is not a function\n at /app/routes/chat.js:484:29\n at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n at next (/app/node_modules/express/lib/router/route.js:149:13)\n at requireAuth (/app/middleware/auth.js:30:14)\n at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n at next (/app/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/app/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n at /app/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/app/node_modules/express/lib/router/index.js:346:12)","timestamp":"2025-05-22T12:08:13.866Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T12:08:25.906Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T12:08:33.657Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:40.758Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:40.808Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:40.835Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:40.852Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:40.884Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:40.930Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:40.957Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:40.992Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:41.120Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:41.139Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:41.165Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:41.185Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:45.085Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:45.104Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:45.141Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:45.159Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:45.178Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:45.205Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:45.229Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T12:08:43.966Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:49.896Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:49.925Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:49.951Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:49.976Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:49.996Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:50.015Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:50.034Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:50.052Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:50.073Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:50.098Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:53.175Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:53.192Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:53.218Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:53.241Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:53.276Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:53.290Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:53.315Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:53.353Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:53.392Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:53.420Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:55.343Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:55.360Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:55.379Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:55.401Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:55.423Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:55.444Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:55.463Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:55.486Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:55.506Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:08:55.529Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T12:08:58.944Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T12:09:07.901Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T12:09:12.663Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:29.544Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:29.566Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:29.595Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:29.624Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:29.647Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:29.673Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:29.708Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:29.742Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:29.849Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:29.870Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:29.892Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:29.916Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:38.914Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:38.936Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:38.958Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:38.977Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:38.998Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:39.015Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:39.032Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:39.056Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:39.075Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:39.093Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:41.700Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:41.716Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:41.741Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:41.763Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:41.782Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:41.797Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:41.817Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:41.833Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:41.854Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:41.878Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:43.724Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:43.740Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:43.765Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:43.791Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:43.813Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:43.832Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:43.851Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:43.874Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:43.909Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:09:43.929Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T12:09:59.700Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:13:10.780Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:13:10.856Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:13:10.875Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:13:10.954Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:13:11.045Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:13:11.067Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:13:11.082Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:13:11.102Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:13:11.120Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:13:11.138Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:13:11.155Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:13:11.176Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:13:13.779Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:13:13.810Z"} {"code":"ENETUNREACH","level":"error","message":"[getUserTokenBalances] Ошибка получения баланса для HB3A (0x351f59de4fedbdf7601f5592b93db3b9330c1c1d) в сети polygon:","stack":"AggregateError [ENETUNREACH]: \n at internalConnectMultiple (node:net:1122:18)\n at internalConnectMultiple (node:net:1190:5)\n at internalConnectMultiple (node:net:1190:5)\n at defaultTriggerAsyncIdScope (node:internal/async_hooks:464:18)\n at GetAddrInfoReqWrap.emitLookup [as callback] (node:net:1526:7)\n at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:132:8)","timestamp":"2025-05-22T12:13:16.145Z"} {"code":"ENETUNREACH","level":"error","message":"[getUserTokenBalances] Ошибка получения баланса для HB3A (0xdCe769b847a0a697239777D0B1C7dd33b6012ba0) в сети arbitrum:","stack":"AggregateError [ENETUNREACH]: \n at internalConnectMultiple (node:net:1122:18)\n at internalConnectMultiple (node:net:1190:5)\n at internalConnectMultiple (node:net:1190:5)\n at defaultTriggerAsyncIdScope (node:internal/async_hooks:464:18)\n at GetAddrInfoReqWrap.emitLookup [as callback] (node:net:1526:7)\n at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:132:8)","timestamp":"2025-05-22T12:13:16.233Z"} {"level":"error","message":"[getLinkedWallet] Error fetching linked wallet for userId 1: db.query is not a function","stack":"TypeError: db.query is not a function\n at AuthService.getLinkedWallet (/app/services/auth-service.js:366:31)\n at AuthService.handleEmailVerification (/app/services/auth-service.js:817:41)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/routes/auth.js:359:24","timestamp":"2025-05-22T12:13:42.185Z"} {"level":"error","message":"[handleEmailVerification] Error checking admin role: db.query is not a function","stack":"TypeError: db.query is not a function\n at AuthService.handleEmailVerification (/app/services/auth-service.js:833:40)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/routes/auth.js:359:24","timestamp":"2025-05-22T12:13:42.186Z"} {"level":"error","message":"Error fetching current user role after role check error: db.query is not a function","stack":"TypeError: db.query is not a function\n at AuthService.handleEmailVerification (/app/services/auth-service.js:842:40)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/routes/auth.js:359:24","timestamp":"2025-05-22T12:13:42.187Z"} {"code":"42703","file":"parse_relation.c","hint":"Perhaps you meant to reference the column \"user_identities.created_at\".","length":183,"level":"error","line":"3729","message":"[IdentityService] Error finding wallet identity for user 1: column \"updated_at\" does not exist","name":"error","position":"43","routine":"errorMissingColumn","severity":"ERROR","stack":"error: column \"updated_at\" does not exist\n at /app/node_modules/pg-pool/index.js:45:11\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async IdentityService.findIdentity (/app/services/identity-service.js:258:22)\n at async /app/routes/auth.js:368:32","timestamp":"2025-05-22T12:13:42.191Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:13:57.723Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:13:57.800Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:13:57.817Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:13:57.843Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:13:57.863Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:13:57.882Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:13:57.921Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:13:57.942Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:13:57.960Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:13:57.983Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:13:57.998Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:13:58.016Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:15:11.547Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:15:11.575Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:21:07.817Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:21:08.276Z"} {"level":"error","message":"Error updating user role: db.query is not a function","stack":"TypeError: db.query is not a function\n at AuthService.checkAdminTokens (/app/services/auth-service.js:558:39)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async requireAdmin (/app/middleware/auth.js:107:23)","timestamp":"2025-05-22T12:21:11.015Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:21:27.439Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:21:27.468Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:24:21.976Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:24:22.037Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:24:22.079Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:24:22.094Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:24:22.109Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:24:22.122Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:24:22.138Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:24:22.151Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:24:22.166Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:24:22.183Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:24:22.199Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:24:22.216Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:25:21.981Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:25:22.010Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:26:01.494Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:26:01.529Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:28:33.564Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:28:33.592Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:34:40.368Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:34:40.409Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:34:55.750Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:34:55.791Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:35:11.297Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:35:11.349Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:35:11.375Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:35:11.394Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:35:11.410Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:35:11.428Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:35:11.447Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:35:11.465Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:35:11.482Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:35:11.496Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:35:11.522Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T12:35:11.540Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T12:48:43.958Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T12:51:53.499Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T12:53:28.746Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T12:53:30.967Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T12:53:58.243Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T12:54:01.602Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T13:12:59.556Z"} {"level":"error","message":"Error: undefined","timestamp":"2025-05-22T13:13:15.709Z"} {"level":"error","message":"Error launching Telegram bot: db.query is not a function","stack":"TypeError: db.query is not a function\n at getTelegramSettings (/app/services/telegramBot.js:13:29)\n at getBot (/app/services/telegramBot.js:22:28)\n at initServices (/app/server.js:35:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Server. (/app/server.js:98:5)","timestamp":"2025-05-22T13:13:55.154Z"} {"code":"ENETUNREACH","errno":"ENETUNREACH","level":"error","message":"Error launching Telegram bot: request to https://api.telegram.org/bot7498026249:[REDACTED]/getMe failed, reason: connect ENETUNREACH 2001:67c:4e8:f004::9:443 - Local (:::0)","stack":"FetchError: request to https://api.telegram.org/bot7498026249:[REDACTED]/getMe failed, reason: connect ENETUNREACH 2001:67c:4e8:f004::9:443 - Local (:::0)\n at ClientRequest. (/app/node_modules/node-fetch/lib/index.js:1501:11)\n at ClientRequest.emit (node:events:524:28)\n at emitErrorEvent (node:_http_client:101:11)\n at TLSSocket.socketErrorListener (node:_http_client:504:5)\n at TLSSocket.emit (node:events:524:28)\n at emitErrorNT (node:internal/streams/destroy:169:8)\n at emitErrorCloseNT (node:internal/streams/destroy:128:3)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","timestamp":"2025-05-22T13:16:36.804Z","type":"system"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:17:36.366Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:17:36.462Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:17:36.627Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:17:36.653Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:17:36.675Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:17:36.696Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:17:36.718Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:17:36.859Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:17:36.890Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:17:36.922Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:17:36.950Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:17:36.977Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:18:39.257Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:18:39.303Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:21:07.268Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:21:07.326Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:21:18.209Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:21:18.274Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:41:18.565Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:41:18.619Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:41:18.650Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:41:18.682Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:41:18.730Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:41:18.767Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:41:18.798Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:41:18.881Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:41:18.907Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:41:18.939Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:50:48.211Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:50:48.242Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:50:48.274Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:50:48.296Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:50:48.330Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:50:48.366Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:50:48.402Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:50:48.433Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:50:48.469Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:50:48.505Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:50:51.710Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:50:51.753Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:51:08.366Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T13:51:08.405Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T14:06:28.246Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T14:06:28.294Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T14:06:46.732Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T14:06:46.755Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T14:06:46.835Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T14:06:46.861Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T14:06:46.887Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T14:06:46.923Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T14:06:46.959Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T14:06:46.992Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T14:06:47.023Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T14:06:47.046Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T14:06:55.941Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T14:06:55.965Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T14:06:55.986Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T14:06:56.014Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T14:06:56.039Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T14:06:56.062Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T14:06:56.099Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T14:06:57.542Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T14:06:57.567Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T14:06:57.590Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T14:11:57.470Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T14:11:57.512Z"} {"code":"ENETUNREACH","errno":"ENETUNREACH","level":"error","message":"Error launching Telegram bot: request to https://api.telegram.org/bot7498026249:[REDACTED]/getMe failed, reason: connect ENETUNREACH 2001:67c:4e8:f004::9:443 - Local (:::0)","stack":"FetchError: request to https://api.telegram.org/bot7498026249:[REDACTED]/getMe failed, reason: connect ENETUNREACH 2001:67c:4e8:f004::9:443 - Local (:::0)\n at ClientRequest. (/app/node_modules/node-fetch/lib/index.js:1501:11)\n at ClientRequest.emit (node:events:524:28)\n at emitErrorEvent (node:_http_client:101:11)\n at TLSSocket.socketErrorListener (node:_http_client:504:5)\n at TLSSocket.emit (node:events:524:28)\n at emitErrorNT (node:internal/streams/destroy:169:8)\n at emitErrorCloseNT (node:internal/streams/destroy:128:3)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","timestamp":"2025-05-22T14:22:53.648Z","type":"system"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:07:04.752Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:07:04.802Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:07:04.827Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:07:04.847Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:07:04.870Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:07:04.895Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:07:04.965Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:07:05.001Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:07:05.045Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:07:05.125Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:07:05.154Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:07:05.186Z"} {"code":"ERR_MODULE_NOT_FOUND","level":"error","message":"Ошибка публикации в IPFS: Cannot find package '/app/node_modules/interface-store/src/index.js' imported from /app/node_modules/datastore-core/dist/src/memory.js","stack":"Error: Cannot find package '/app/node_modules/interface-store/src/index.js' imported from /app/node_modules/datastore-core/dist/src/memory.js\n at legacyMainResolve (node:internal/modules/esm/resolve:215:26)\n at packageResolve (node:internal/modules/esm/resolve:860:14)\n at moduleResolve (node:internal/modules/esm/resolve:946:18)\n at defaultResolve (node:internal/modules/esm/resolve:1188:11)\n at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:642:12)\n at #cachedDefaultResolve (node:internal/modules/esm/loader:591:25)\n at ModuleLoader.resolve (node:internal/modules/esm/loader:574:38)\n at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:236:38)\n at ModuleJob._link (node:internal/modules/esm/module_job:130:49)","timestamp":"2025-05-22T15:11:37.856Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:13:29.917Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:13:30.021Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:13:30.129Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:13:30.169Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:13:30.215Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:13:30.282Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:13:30.317Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:13:30.391Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:13:30.462Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:13:30.489Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:13:30.531Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:13:30.558Z"} {"code":"ERR_MODULE_NOT_FOUND","level":"error","message":"Ошибка публикации в IPFS: Cannot find package 'helia' imported from /app/services/interfaceService.mjs","stack":"Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'helia' imported from /app/services/interfaceService.mjs\n at packageResolve (node:internal/modules/esm/resolve:873:9)\n at moduleResolve (node:internal/modules/esm/resolve:946:18)\n at defaultResolve (node:internal/modules/esm/resolve:1188:11)\n at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:642:12)\n at #cachedDefaultResolve (node:internal/modules/esm/loader:591:25)\n at ModuleLoader.resolve (node:internal/modules/esm/loader:574:38)\n at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:236:38)\n at ModuleJob._link (node:internal/modules/esm/module_job:130:49)","timestamp":"2025-05-22T15:13:37.114Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:16:32.451Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:16:32.623Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:16:32.756Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:16:32.794Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:16:32.847Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:16:32.882Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:16:32.920Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:16:32.958Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:16:32.990Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:16:33.027Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:16:33.061Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:16:33.108Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:17:45.595Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:17:45.668Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:17:45.694Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:17:45.718Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:17:45.753Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:17:45.793Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:17:45.852Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:17:45.902Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:17:45.941Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:17:45.966Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:17:45.991Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:17:46.025Z"} {"level":"error","message":"Ошибка публикации в IPFS: Папка dist не найдена","stack":"Error: Папка dist не найдена\n at publishFrontendToIPFS (file:///app/services/interfaceService.mjs:13:39)\n at /app/routes/settings.js:246:26","timestamp":"2025-05-22T15:17:59.893Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:21:02.007Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:21:02.120Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:21:02.141Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:21:02.237Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:21:02.264Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:21:02.293Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:21:02.327Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:21:02.357Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:21:02.382Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:21:02.417Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:21:02.442Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:21:02.477Z"} {"level":"error","message":"Ошибка публикации в IPFS: Папка dist не найдена","stack":"Error: Папка dist не найдена\n at publishFrontendToIPFS (file:///app/services/interfaceService.mjs:13:39)\n at /app/routes/settings.js:246:26","timestamp":"2025-05-22T15:21:08.086Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:24:12.944Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:24:13.056Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:24:13.157Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:24:13.185Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:24:13.218Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:24:13.243Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:24:13.267Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:24:13.289Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:24:13.314Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:24:13.342Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:24:13.374Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:24:13.402Z"} {"level":"error","message":"Ошибка публикации в IPFS: Папка dist не найдена","stack":"Error: Папка dist не найдена\n at publishFrontendToIPFS (file:///app/services/interfaceService.mjs:13:39)\n at /app/routes/settings.js:246:26","timestamp":"2025-05-22T15:24:17.843Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:33:30.004Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:33:30.092Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:33:30.173Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:33:30.194Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:33:30.214Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:33:30.231Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:33:30.249Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:33:30.264Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:33:30.284Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:33:30.302Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:33:30.325Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:33:30.343Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:33.148Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:33.206Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:33.243Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:33.276Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:33.290Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:33.303Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:33.316Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:33.330Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:33.343Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:33.358Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:33.370Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:33.380Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:35.794Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:35.807Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:35.831Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:35.851Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:35.873Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:35.894Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:35.911Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:35.937Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:35.959Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:35.977Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:39.292Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:39.304Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:39.314Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:39.324Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:39.335Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:39.348Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:39.358Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:39.368Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:39.380Z"} {"level":"error","message":"[session/check] Error fetching identities: db.query is not a function","timestamp":"2025-05-22T15:45:39.392Z"} {"level":"error","message":"Error generating nonce: db.query is not a function","stack":"TypeError: db.query is not a function\n at /app/routes/auth.js:43:16\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-05-22T15:45:50.323Z"} {"level":"error","message":"Error generating nonce: db.query is not a function","stack":"TypeError: db.query is not a function\n at /app/routes/auth.js:43:16\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-05-22T15:46:04.896Z"} {"level":"error","message":"Error generating nonce: db.query is not a function","stack":"TypeError: db.query is not a function\n at /app/routes/auth.js:43:16\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-05-22T15:48:10.096Z"} {"level":"error","message":"Error generating nonce: db.query is not a function","stack":"TypeError: db.query is not a function\n at /app/routes/auth.js:43:16\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-05-22T15:49:08.368Z"} {"level":"error","message":"Error finding or creating user: db.query is not a function","stack":"TypeError: db.query is not a function\n at AuthService.findOrCreateUser (/app/services/auth-service.js:46:35)\n at /app/routes/auth.js:115:40\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-05-22T15:50:47.856Z"} {"level":"error","message":"[verify] Error: db.query is not a function","stack":"TypeError: db.query is not a function\n at AuthService.findOrCreateUser (/app/services/auth-service.js:46:35)\n at /app/routes/auth.js:115:40\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-05-22T15:50:47.858Z"} {"level":"error","message":"[linkGuestMessages] Error: db.query is not a function","stack":"TypeError: db.query is not a function\n at SessionService.linkGuestMessages (/app/services/session-service.js:68:18)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/routes/auth.js:152:5","timestamp":"2025-05-22T15:53:03.230Z"} {"level":"error","message":"Error: undefined","timestamp":"2025-05-23T09:47:33.807Z"}