{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:28:12.317Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:28:12.318Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:28:12.318Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:28:12.318Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:28:12.319Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:28:12.319Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:28:12.320Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:28:12.321Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:28:12.322Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:28:12.322Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:28:12.322Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:28:12.323Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:28:12.323Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:28:12.324Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:28:12.324Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:28:12.325Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:28:12.325Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:32:33.940Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:32:33.940Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:32:33.940Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:32:33.940Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:32:33.941Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:32:33.941Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:32:33.941Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:32:33.941Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:32:52.884Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:37:11.148Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:37:11.149Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:37:11.149Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:37:11.149Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:37:11.149Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:37:11.149Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:37:11.150Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:37:11.150Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:37:57.164Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:41:32.142Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:41:32.142Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:41:32.142Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:41:32.143Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:41:32.143Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:41:32.143Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:41:32.144Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:51:02.183Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:51:02.184Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:51:02.185Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:51:02.185Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:51:02.186Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:51:02.186Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:51:02.186Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:51:02.186Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:51:02.186Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:51:02.187Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:51:02.187Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:51:02.187Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:51:02.188Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:51:02.188Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:51:02.188Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:51:02.189Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:51:02.189Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T13:51:21.375Z"} {"level":"error","message":"Error getting or saving AI response (RAG): Could not import hnswlib-node. Please install hnswlib-node as a dependency with, e.g. `npm install -S hnswlib-node`.\n\nError: libnode.so.109: cannot open shared object file: No such file or directory","stack":"Error: Could not import hnswlib-node. Please install hnswlib-node as a dependency with, e.g. `npm install -S hnswlib-node`.\n\nError: libnode.so.109: cannot open shared object file: No such file or directory\n at HNSWLib.imports (/app/node_modules/@langchain/community/dist/vectorstores/hnswlib.cjs:271:19)\n at async HNSWLib.getHierarchicalNSW (/app/node_modules/@langchain/community/dist/vectorstores/hnswlib.cjs:54:37)\n at async HNSWLib.initIndex (/app/node_modules/@langchain/community/dist/vectorstores/hnswlib.cjs:68:26)\n at async HNSWLib.addVectors (/app/node_modules/@langchain/community/dist/vectorstores/hnswlib.cjs:95:9)\n at async HNSWLib.fromDocuments (/app/node_modules/@langchain/community/dist/vectorstores/hnswlib.cjs:261:9)\n at async ragAnswer (/app/services/ragService.js:96:23)\n at async /app/routes/chat.js:452:29","timestamp":"2025-06-26T13:54:57.511Z"} {"level":"error","message":"Error getting or saving AI response (RAG): Could not import hnswlib-node. Please install hnswlib-node as a dependency with, e.g. `npm install -S hnswlib-node`.\n\nError: libnode.so.109: cannot open shared object file: No such file or directory","stack":"Error: Could not import hnswlib-node. Please install hnswlib-node as a dependency with, e.g. `npm install -S hnswlib-node`.\n\nError: libnode.so.109: cannot open shared object file: No such file or directory\n at HNSWLib.imports (/app/node_modules/@langchain/community/dist/vectorstores/hnswlib.cjs:271:19)\n at async HNSWLib.getHierarchicalNSW (/app/node_modules/@langchain/community/dist/vectorstores/hnswlib.cjs:54:37)\n at async HNSWLib.initIndex (/app/node_modules/@langchain/community/dist/vectorstores/hnswlib.cjs:68:26)\n at async HNSWLib.addVectors (/app/node_modules/@langchain/community/dist/vectorstores/hnswlib.cjs:95:9)\n at async HNSWLib.fromDocuments (/app/node_modules/@langchain/community/dist/vectorstores/hnswlib.cjs:261:9)\n at async ragAnswer (/app/services/ragService.js:96:23)\n at async /app/routes/chat.js:452:29","timestamp":"2025-06-26T14:07:25.649Z"} {"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-26T14:21:13.900Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T14:21:13.902Z"} {"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-26T14:26:40.393Z"} {"level":"error","message":"Error getting or saving AI response (RAG): Could not import hnswlib-node. Please install hnswlib-node as a dependency with, e.g. `npm install -S hnswlib-node`.\n\nError: libnode.so.109: cannot open shared object file: No such file or directory","stack":"Error: Could not import hnswlib-node. Please install hnswlib-node as a dependency with, e.g. `npm install -S hnswlib-node`.\n\nError: libnode.so.109: cannot open shared object file: No such file or directory\n at HNSWLib.imports (/app/node_modules/@langchain/community/dist/vectorstores/hnswlib.cjs:304:19)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async HNSWLib.getHierarchicalNSW (/app/node_modules/@langchain/community/dist/vectorstores/hnswlib.cjs:87:37)\n at async HNSWLib.initIndex (/app/node_modules/@langchain/community/dist/vectorstores/hnswlib.cjs:101:26)\n at async HNSWLib.addVectors (/app/node_modules/@langchain/community/dist/vectorstores/hnswlib.cjs:128:9)\n at async HNSWLib.fromDocuments (/app/node_modules/@langchain/community/dist/vectorstores/hnswlib.cjs:294:9)\n at async ragAnswer (/app/services/ragService.js:96:23)\n at async /app/routes/chat.js:454:29","timestamp":"2025-06-26T14:27:07.887Z"} {"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-26T14:32:23.308Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T14:32:23.309Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T14:32:23.309Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T14:32:23.309Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T14:32:23.309Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T14:32:23.310Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T14:32:23.310Z"} {"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-26T14:32:41.223Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T14:33:28.727Z"} {"level":"error","message":"Uncaught Exception: Not authenticated","stack":"Error: Not authenticated\n at Connection.openBox (/app/node_modules/imap/lib/Connection.js:409:11)\n at Connection. (/app/services/emailBot.js:105:19)\n at Object.onceWrapper (node:events:638:28)\n at Connection.emit (node:events:536:35)\n at Connection. (/app/node_modules/imap/lib/Connection.js:1623:12)\n at Connection._resTagged (/app/node_modules/imap/lib/Connection.js:1535:22)\n at Parser. (/app/node_modules/imap/lib/Connection.js:194:10)\n at Parser.emit (node:events:524:28)\n at Parser._resTagged (/app/node_modules/imap/lib/Parser.js:175:10)\n at Parser._parse (/app/node_modules/imap/lib/Parser.js:139:16)","timestamp":"2025-06-26T14:34:33.262Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T14:35:46.644Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T14:35:46.644Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T14:35:46.644Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T14:35:46.645Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T14:36:45.112Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T14:36:45.113Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T14:40:01.438Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T14:40:01.439Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T14:40:01.439Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T14:40:01.439Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T14:40:01.439Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T14:40:01.440Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T14:41:13.793Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T14:41:13.794Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T14:43:17.694Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T14:43:17.695Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T14:43:17.695Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T14:43:17.695Z"} {"level":"error","message":"Uncaught Exception: Cannot read properties of undefined (reading 'type')","stack":"TypeError: Cannot read properties of undefined (reading 'type')\n at Connection._resUntagged (/app/node_modules/imap/lib/Connection.js:1265:52)\n at Parser. (/app/node_modules/imap/lib/Connection.js:191:10)\n at Parser.emit (node:events:524:28)\n at Parser._resUntagged (/app/node_modules/imap/lib/Parser.js:271:10)\n at Parser._parse (/app/node_modules/imap/lib/Parser.js:137:16)\n at Parser._tryread (/app/node_modules/imap/lib/Parser.js:82:15)\n at Parser._cbReadable (/app/node_modules/imap/lib/Parser.js:53:12)\n at TLSSocket.emit (node:events:524:28)\n at emitReadable_ (node:internal/streams/readable:834:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:81:21)","timestamp":"2025-06-26T14:44:22.176Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T14:44:30.100Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T14:44:30.101Z"} {"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-26T16:19:03.221Z"} {"code":"23503","constraint":"user_identities_user_id_fkey","detail":"Key (user_id)=(140) is not present in table \"users\".","file":"ri_triggers.c","length":284,"level":"error","line":"2608","message":"[AuthService] Error linking identity wallet:0xB8A6511f35A9307053436100D9eE2B0e21606FBf to user 140: insert or update on table \"user_identities\" violates foreign key constraint \"user_identities_user_id_fkey\"","name":"error","routine":"ri_ReportViolation","schema":"public","severity":"ERROR","stack":"error: insert or update on table \"user_identities\" violates foreign key constraint \"user_identities_user_id_fkey\"\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 AuthService.linkIdentity (/app/services/auth-service.js:626:7)\n at async /app/routes/auth.js:107:7","table":"user_identities","timestamp":"2025-06-26T16:22:47.039Z"} {"code":"23503","constraint":"user_identities_user_id_fkey","detail":"Key (user_id)=(140) is not present in table \"users\".","file":"ri_triggers.c","length":284,"level":"error","line":"2608","message":"[verify] Error: insert or update on table \"user_identities\" violates foreign key constraint \"user_identities_user_id_fkey\"","name":"error","routine":"ri_ReportViolation","schema":"public","severity":"ERROR","stack":"error: insert or update on table \"user_identities\" violates foreign key constraint \"user_identities_user_id_fkey\"\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 AuthService.linkIdentity (/app/services/auth-service.js:626:7)\n at async /app/routes/auth.js:107:7","table":"user_identities","timestamp":"2025-06-26T16:22:47.040Z"} {"code":"23503","constraint":"user_identities_user_id_fkey","detail":"Key (user_id)=(140) is not present in table \"users\".","file":"ri_triggers.c","length":284,"level":"error","line":"2608","message":"[AuthService] Error linking identity wallet:0xB8A6511f35A9307053436100D9eE2B0e21606FBf to user 140: insert or update on table \"user_identities\" violates foreign key constraint \"user_identities_user_id_fkey\"","name":"error","routine":"ri_ReportViolation","schema":"public","severity":"ERROR","stack":"error: insert or update on table \"user_identities\" violates foreign key constraint \"user_identities_user_id_fkey\"\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 AuthService.linkIdentity (/app/services/auth-service.js:626:7)\n at async /app/routes/auth.js:107:7","table":"user_identities","timestamp":"2025-06-26T16:24:53.197Z"} {"code":"23503","constraint":"user_identities_user_id_fkey","detail":"Key (user_id)=(140) is not present in table \"users\".","file":"ri_triggers.c","length":284,"level":"error","line":"2608","message":"[verify] Error: insert or update on table \"user_identities\" violates foreign key constraint \"user_identities_user_id_fkey\"","name":"error","routine":"ri_ReportViolation","schema":"public","severity":"ERROR","stack":"error: insert or update on table \"user_identities\" violates foreign key constraint \"user_identities_user_id_fkey\"\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 AuthService.linkIdentity (/app/services/auth-service.js:626:7)\n at async /app/routes/auth.js:107:7","table":"user_identities","timestamp":"2025-06-26T16:24:53.198Z"} {"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-26T16:30:20.184Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:30:20.186Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:30:20.186Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:30:20.187Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:30:20.187Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:30:20.187Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:30:20.188Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:30:20.188Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:30:20.188Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:30:20.189Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:30:20.189Z"} {"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-26T16:31:25.548Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:31:25.549Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:31:25.550Z"} {"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-26T16:31:43.452Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:31:43.452Z"} {"level":"error","message":"Uncaught Exception: Not authenticated","stack":"Error: Not authenticated\n at Connection.openBox (/app/node_modules/imap/lib/Connection.js:409:11)\n at Connection. (/app/services/emailBot.js:105:19)\n at Object.onceWrapper (node:events:638:28)\n at Connection.emit (node:events:536:35)\n at Connection. (/app/node_modules/imap/lib/Connection.js:1623:12)\n at Connection._resTagged (/app/node_modules/imap/lib/Connection.js:1535:22)\n at Parser. (/app/node_modules/imap/lib/Connection.js:194:10)\n at Parser.emit (node:events:524:28)\n at Parser._resTagged (/app/node_modules/imap/lib/Parser.js:175:10)\n at Parser._parse (/app/node_modules/imap/lib/Parser.js:139:16)","timestamp":"2025-06-26T16:32:30.017Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:36:52.795Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:36:52.796Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:36:52.798Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:36:52.798Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:36:52.799Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:36:52.799Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:36:52.799Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:36:52.800Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:36:52.800Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:36:52.800Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:36:52.800Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:36:52.801Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:36:52.801Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:36:52.801Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:37:12.162Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:39:03.693Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:39:03.695Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:39:03.695Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:39:03.696Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:39:03.697Z"} {"level":"error","message":"Uncaught Exception: Cannot read properties of undefined (reading 'cbargs')","stack":"TypeError: Cannot read properties of undefined (reading 'cbargs')\n at Connection._resUntagged (/app/node_modules/imap/lib/Connection.js:1253:20)\n at Parser. (/app/node_modules/imap/lib/Connection.js:191:10)\n at Parser.emit (node:events:524:28)\n at Parser._resUntagged (/app/node_modules/imap/lib/Parser.js:271:10)\n at Parser._parse (/app/node_modules/imap/lib/Parser.js:137:16)\n at Parser._tryread (/app/node_modules/imap/lib/Parser.js:82:15)\n at Parser._cbReadable (/app/node_modules/imap/lib/Parser.js:53:12)\n at TLSSocket.emit (node:events:524:28)\n at emitReadable_ (node:internal/streams/readable:834:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:81:21)","timestamp":"2025-06-26T16:42:19.123Z"} {"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-26T16:44:24.127Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:44:24.130Z"} {"level":"error","message":"Error getting or saving AI response (RAG): Could not import hnswlib-node. Please install hnswlib-node as a dependency with, e.g. `npm install -S hnswlib-node`.\n\nError: libnode.so.109: cannot open shared object file: No such file or directory","stack":"Error: Could not import hnswlib-node. Please install hnswlib-node as a dependency with, e.g. `npm install -S hnswlib-node`.\n\nError: libnode.so.109: cannot open shared object file: No such file or directory\n at HNSWLib.imports (/app/node_modules/@langchain/community/dist/vectorstores/hnswlib.cjs:304:19)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async HNSWLib.getHierarchicalNSW (/app/node_modules/@langchain/community/dist/vectorstores/hnswlib.cjs:87:37)\n at async HNSWLib.initIndex (/app/node_modules/@langchain/community/dist/vectorstores/hnswlib.cjs:101:26)\n at async HNSWLib.addVectors (/app/node_modules/@langchain/community/dist/vectorstores/hnswlib.cjs:128:9)\n at async HNSWLib.fromDocuments (/app/node_modules/@langchain/community/dist/vectorstores/hnswlib.cjs:294:9)\n at async ragAnswer (/app/services/ragService.js:109:23)\n at async /app/routes/chat.js:455:29","timestamp":"2025-06-26T16:47:14.505Z"} {"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-26T16:48:17.179Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:48:17.180Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:48:17.180Z"} {"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-26T16:48:35.083Z"} {"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-26T16:51:05.409Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:51:05.410Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:51:05.410Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:51:05.410Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:51:05.411Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:51:05.411Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:52:38.293Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:52:38.293Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:52:38.294Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:56:32.655Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:56:32.657Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:56:32.657Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:56:32.657Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:56:32.658Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:56:32.658Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:56:32.658Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:57:42.137Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T16:57:42.138Z"} {"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-26T17:08:14.469Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:08:14.469Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:08:14.469Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:08:14.469Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:08:14.469Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:08:14.470Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:08:14.470Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:08:14.470Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:08:14.470Z"} {"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-26T17:10:25.387Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:10:25.388Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:10:25.389Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:10:25.389Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:10:25.389Z"} {"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-26T17:10:40.616Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:10:40.617Z"} {"level":"error","message":"Uncaught Exception: Not authenticated","stack":"Error: Not authenticated\n at Connection.openBox (/app/node_modules/imap/lib/Connection.js:409:11)\n at Connection. (/app/services/emailBot.js:105:19)\n at Object.onceWrapper (node:events:638:28)\n at Connection.emit (node:events:536:35)\n at Connection. (/app/node_modules/imap/lib/Connection.js:1623:12)\n at Connection._resTagged (/app/node_modules/imap/lib/Connection.js:1535:22)\n at Parser. (/app/node_modules/imap/lib/Connection.js:194:10)\n at Parser.emit (node:events:524:28)\n at Parser._resTagged (/app/node_modules/imap/lib/Parser.js:175:10)\n at Parser._parse (/app/node_modules/imap/lib/Parser.js:139:16)","timestamp":"2025-06-26T17:11:29.885Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:14:01.273Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:14:01.274Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:14:01.274Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:14:01.274Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:14:01.274Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:14:01.274Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:14:01.274Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:14:01.274Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:14:01.274Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:17:17.628Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:17:17.628Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:17:17.629Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:17:17.629Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:17:17.629Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:17:17.629Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:17:17.629Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:17:17.629Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:17:17.630Z"} {"level":"error","message":"Uncaught Exception: Cannot read properties of undefined (reading 'type')","stack":"TypeError: Cannot read properties of undefined (reading 'type')\n at Connection._resUntagged (/app/node_modules/imap/lib/Connection.js:1265:52)\n at Parser. (/app/node_modules/imap/lib/Connection.js:191:10)\n at Parser.emit (node:events:524:28)\n at Parser._resUntagged (/app/node_modules/imap/lib/Parser.js:271:10)\n at Parser._parse (/app/node_modules/imap/lib/Parser.js:137:16)\n at Parser._tryread (/app/node_modules/imap/lib/Parser.js:82:15)\n at Parser._cbReadable (/app/node_modules/imap/lib/Parser.js:53:12)\n at TLSSocket.emit (node:events:524:28)\n at emitReadable_ (node:internal/streams/readable:834:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:81:21)","timestamp":"2025-06-26T17:20:13.530Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:20:18.702Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:20:18.703Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:20:18.703Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:20:18.703Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:20:18.703Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:20:18.703Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:20:18.704Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:20:18.704Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:20:37.948Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:22:29.604Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:22:29.605Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:22:29.605Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:22:29.605Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:22:29.606Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:22:44.952Z"} {"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-26T17:23:02.165Z"} {"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-26T17:23:17.376Z"} {"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-26T17:24:45.013Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:24:45.014Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:24:45.015Z"} {"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-26T17:26:01.990Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:26:01.991Z"} {"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-26T17:29:15.105Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:29:15.106Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:29:15.107Z"} {"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-26T17:33:40.143Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:33:40.144Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:33:40.144Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:33:40.145Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:33:40.145Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:33:40.145Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:33:40.146Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:33:40.146Z"} {"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-26T17:33:40.146Z"}