diff --git a/RAG_TASKS.md b/RAG_TASKS.md index 2c7624f..76b275d 100644 --- a/RAG_TASKS.md +++ b/RAG_TASKS.md @@ -126,4 +126,82 @@ --- +## Требования к CRM-интерфейсу для работы с контактами, тегами и настройками RAG-ассистента + +### 1. Раздел "Контакты" в CRM +- **Фильтры:** + - Новые пользователи (по дате создания или статусу "новый"). + - Новые входящие сообщения (по наличию непрочитанных/неотвеченных сообщений). + - Теги (мультиселект по тегам пользователя). +- **Детали контакта:** + - Просмотр истории сообщений. + - Список тегов пользователя. + - Добавление/удаление тегов через выпадающий список или автокомплит (создание связи в таблице user_tags). + +### 2. Настройки ИИ-ассистента +- **Выбор RAG-таблиц:** + - В настройках ассистента отображается список всех доступных RAG-таблиц. + - Администратор выбирает (чекбоксами или мультиселектом), какие таблицы использовать для поиска ответов. + - Для каждой выбранной таблицы отображается список тегов, которые она содержит. +- **Связь с тегами:** + - При генерации ответа ИИ использует только те RAG-таблицы и записи, которые соответствуют тегам пользователя. + +### 3. Рекомендации по интерфейсу (Vue) +- Компоненты: + - `ContactList.vue` — фильтры, список пользователей + - `ContactDetails.vue` — история сообщений, теги, добавление тегов + - `AssistantSettings.vue` — выбор RAG-таблиц + - `RagTableSelector.vue` — список таблиц с чекбоксами + - `TagList.vue` — просмотр тегов в выбранной таблице + +### 4. Схема действий администратора +1. В разделе "Контакты" находит нового пользователя/сообщение через фильтры. +2. В деталях контакта добавляет нужные теги пользователю. +3. В настройках ассистента выбирает, какие RAG-таблицы использовать для поиска по тегам. +4. ИИ-ассистент при ответе использует только релевантные RAG-таблицы и теги. + +### 5. Пример структуры таблиц для RAG и тегов +- `users` — пользователи +- `messages` — сообщения +- `tags` — справочник тегов +- `user_tags` — связь пользователей и тегов (user_id, tag_id) +- `rag_tables` — таблицы знаний (например, FAQ, инструкции) +- `rag_entries` — записи в таблицах знаний (content, rag_table_id, ...) +- `rag_entry_tags` — связь записей знаний и тегов (rag_entry_id, tag_id) + +--- + +## План внедрения RAG-ассистента в CRM + +1. **Создать RAG-таблицы для ИИ-ассистента** + - Таблицы для хранения знаний о компании, продуктах, услугах (например, `rag_tables`, `rag_entries`). + - Возможность добавлять, редактировать, удалять записи через UI. + - Каждая запись может быть связана с тегами (например, категория продукта, язык, сегмент клиента). + +2. **Создать таблицы с тегами для пользователей** + - Таблица тегов (`tags`). + - Связующая таблица `user_tags` (user_id, tag_id). + - UI для управления тегами и их привязкой к пользователям. + +3. **Отредактировать страницу настройки ИИ-ассистента** + - Добавить выбор, какие RAG-таблицы использовать для поиска. + - Отображать список тегов, связанных с выбранными таблицами. + - Возможность быстро подключать/отключать таблицы и теги. + +4. **Добавить в раздел "Контакты" фильтры (отдельные компоненты)** + - Фильтр по новым пользователям. + - Фильтр по новым входящим сообщениям. + - Фильтр по тегам (мультиселект). + - Каждый фильтр реализовать отдельным Vue-компонентом для переиспользования. + +5. **В "Детали контакта" добавить инлайн-кнопки** + - Кнопки: + - Сгенерировать (ответ с помощью ИИ) + - Редактировать (отредактировать сгенерированный ответ) + - Отправить (отправить ответ пользователю) + - Добавить в RAG-таблицу (сделать сообщение или ответ частью базы знаний) + - Кнопки должны быть доступны для каждого сообщения в истории. + +--- + **Этот документ будет дополняться по мере реализации каждого этапа.** \ No newline at end of file diff --git a/backend/db/migrations/029_create_ai_assistant_settings.sql b/backend/db/migrations/029_create_ai_assistant_settings.sql new file mode 100644 index 0000000..f0c9a01 --- /dev/null +++ b/backend/db/migrations/029_create_ai_assistant_settings.sql @@ -0,0 +1,21 @@ +CREATE TABLE IF NOT EXISTS ai_assistant_settings ( + id SERIAL PRIMARY KEY, + system_prompt TEXT, + selected_rag_tables INTEGER[], + languages TEXT[], + model TEXT, + rules JSONB, + updated_at TIMESTAMP DEFAULT NOW(), + updated_by INTEGER, +); + +-- Вставить дефолтную строку (глобальные настройки) +INSERT INTO ai_assistant_settings (system_prompt, selected_rag_tables, languages, model, rules) +VALUES ( + 'Вы — полезный ассистент. Отвечайте на русском языке.', + ARRAY[]::INTEGER[], + ARRAY['ru'], + 'qwen2.5', + '{"checkUserTags": true, "searchRagFirst": true, "generateIfNoRag": true, "requireAdminApproval": true}' +) +ON CONFLICT DO NOTHING; \ No newline at end of file diff --git a/backend/db/migrations/030_create_ai_assistant_rules.sql b/backend/db/migrations/030_create_ai_assistant_rules.sql new file mode 100644 index 0000000..620dace --- /dev/null +++ b/backend/db/migrations/030_create_ai_assistant_rules.sql @@ -0,0 +1,11 @@ +CREATE TABLE IF NOT EXISTS ai_assistant_rules ( + id SERIAL PRIMARY KEY, + name TEXT NOT NULL, + description TEXT, + rules JSONB NOT NULL, + created_at TIMESTAMP DEFAULT NOW(), + updated_at TIMESTAMP DEFAULT NOW() +); + +ALTER TABLE ai_assistant_settings +ADD COLUMN IF NOT EXISTS rules_id INTEGER REFERENCES ai_assistant_rules(id); \ No newline at end of file diff --git a/backend/db/migrations/031_alter_ai_assistant_settings_add_fields.sql b/backend/db/migrations/031_alter_ai_assistant_settings_add_fields.sql new file mode 100644 index 0000000..6af4cb4 --- /dev/null +++ b/backend/db/migrations/031_alter_ai_assistant_settings_add_fields.sql @@ -0,0 +1,5 @@ +-- Добавление недостающих полей для интеграции с Telegram и Email, а также для системного сообщения +ALTER TABLE ai_assistant_settings + ADD COLUMN IF NOT EXISTS telegram_settings_id INTEGER REFERENCES telegram_settings(id), + ADD COLUMN IF NOT EXISTS email_settings_id INTEGER REFERENCES email_settings(id), + ADD COLUMN IF NOT EXISTS system_message TEXT; \ No newline at end of file diff --git a/backend/logs/combined.log b/backend/logs/combined.log index f22e0f7..e49f808 100644 --- a/backend/logs/combined.log +++ b/backend/logs/combined.log @@ -1,1439 +1,122 @@ -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T12:51:52.438Z"} -{"level":"info","message":"Директория существует: /app/contracts-data","timestamp":"2025-06-01T12:52:26.295Z"} -{"level":"info","message":"Директория доступна для записи: /app/contracts-data","timestamp":"2025-06-01T12:52:26.297Z"} -{"level":"info","message":"Директория существует: /app/contracts-data/dles","timestamp":"2025-06-01T12:52:26.298Z"} -{"level":"info","message":"Директория доступна для записи: /app/contracts-data/dles","timestamp":"2025-06-01T12:52:26.299Z"} -{"level":"info","message":"Директория существует: /app/temp","timestamp":"2025-06-01T12:52:26.300Z"} -{"level":"info","message":"Директория доступна для записи: /app/temp","timestamp":"2025-06-01T12:52:26.301Z"} -{"level":"info","message":"Ethers version: 6.13.5","timestamp":"2025-06-01T12:52:26.549Z"} -{"level":"info","message":"[EmailBot] start() called","timestamp":"2025-06-01T12:52:26.560Z"} -{"host":"mail.hostland.ru","keepalive":{"forceNoop":true,"idleInterval":300000,"interval":10000},"level":"info","message":"[EmailBot] IMAP config:","password":"***","port":993,"timestamp":"2025-06-01T12:52:26.631Z","tls":true,"tlsOptions":{"rejectUnauthorized":false},"user":"info@hb3-accelerator.com"} -{"level":"info","message":"[EmailBot] IMAP connect attempt 1","timestamp":"2025-06-01T12:52:26.632Z"} -{"level":"info","message":"[EmailBot] IMAP connection ready","timestamp":"2025-06-01T12:52:31.762Z"} -{"level":"info","message":"[EmailBot] Email bot started and IMAP connection initiated","timestamp":"2025-06-01T12:52:31.765Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T12:52:36.956Z"} -{"level":"info","message":"GET /api/tables?_t=1748782384302","timestamp":"2025-06-01T12:53:01.082Z"} -{"level":"info","message":"DELETE /api/tables/2","timestamp":"2025-06-01T12:53:04.807Z"} -{"level":"info","message":"[IdentityService] Deleted identity tables:2 for user 1","timestamp":"2025-06-01T12:53:04.813Z"} -{"level":"info","message":"GET /api/tables?_t=1748782387741","timestamp":"2025-06-01T12:53:04.835Z"} -{"level":"info","message":"Директория существует: /app/contracts-data","timestamp":"2025-06-01T12:53:23.748Z"} -{"level":"info","message":"Директория доступна для записи: /app/contracts-data","timestamp":"2025-06-01T12:53:23.750Z"} -{"level":"info","message":"Директория существует: /app/contracts-data/dles","timestamp":"2025-06-01T12:53:23.751Z"} -{"level":"info","message":"Директория доступна для записи: /app/contracts-data/dles","timestamp":"2025-06-01T12:53:23.752Z"} -{"level":"info","message":"Директория существует: /app/temp","timestamp":"2025-06-01T12:53:23.752Z"} -{"level":"info","message":"Директория доступна для записи: /app/temp","timestamp":"2025-06-01T12:53:23.753Z"} -{"level":"info","message":"Ethers version: 6.13.5","timestamp":"2025-06-01T12:53:24.004Z"} -{"level":"info","message":"[EmailBot] start() called","timestamp":"2025-06-01T12:53:24.016Z"} -{"host":"mail.hostland.ru","keepalive":{"forceNoop":true,"idleInterval":300000,"interval":10000},"level":"info","message":"[EmailBot] IMAP config:","password":"***","port":993,"timestamp":"2025-06-01T12:53:24.091Z","tls":true,"tlsOptions":{"rejectUnauthorized":false},"user":"info@hb3-accelerator.com"} -{"level":"info","message":"[EmailBot] IMAP connect attempt 1","timestamp":"2025-06-01T12:53:24.092Z"} -{"level":"info","message":"[EmailBot] IMAP connection ready","timestamp":"2025-06-01T12:53:24.964Z"} -{"level":"info","message":"[EmailBot] Email bot started and IMAP connection initiated","timestamp":"2025-06-01T12:53:24.966Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T12:53:25.817Z"} -{"level":"info","message":"Директория существует: /app/contracts-data","timestamp":"2025-06-01T12:53:53.878Z"} -{"level":"info","message":"Директория доступна для записи: /app/contracts-data","timestamp":"2025-06-01T12:53:53.880Z"} -{"level":"info","message":"Директория существует: /app/contracts-data/dles","timestamp":"2025-06-01T12:53:53.880Z"} -{"level":"info","message":"Директория доступна для записи: /app/contracts-data/dles","timestamp":"2025-06-01T12:53:53.881Z"} -{"level":"info","message":"Директория существует: /app/temp","timestamp":"2025-06-01T12:53:53.882Z"} -{"level":"info","message":"Директория доступна для записи: /app/temp","timestamp":"2025-06-01T12:53:53.882Z"} -{"level":"info","message":"Ethers version: 6.13.5","timestamp":"2025-06-01T12:53:54.154Z"} -{"level":"info","message":"[EmailBot] start() called","timestamp":"2025-06-01T12:53:54.166Z"} -{"host":"mail.hostland.ru","keepalive":{"forceNoop":true,"idleInterval":300000,"interval":10000},"level":"info","message":"[EmailBot] IMAP config:","password":"***","port":993,"timestamp":"2025-06-01T12:53:54.237Z","tls":true,"tlsOptions":{"rejectUnauthorized":false},"user":"info@hb3-accelerator.com"} -{"level":"info","message":"[EmailBot] IMAP connect attempt 1","timestamp":"2025-06-01T12:53:54.238Z"} -{"level":"info","message":"[EmailBot] IMAP connection ready","timestamp":"2025-06-01T12:53:54.949Z"} -{"level":"info","message":"[EmailBot] Email bot started and IMAP connection initiated","timestamp":"2025-06-01T12:53:54.951Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T12:54:00.122Z"} -{"level":"info","message":"Директория существует: /app/contracts-data","timestamp":"2025-06-01T12:54:17.798Z"} -{"level":"info","message":"Директория доступна для записи: /app/contracts-data","timestamp":"2025-06-01T12:54:17.801Z"} -{"level":"info","message":"Директория существует: /app/contracts-data/dles","timestamp":"2025-06-01T12:54:17.802Z"} -{"level":"info","message":"Директория доступна для записи: /app/contracts-data/dles","timestamp":"2025-06-01T12:54:17.803Z"} -{"level":"info","message":"Директория существует: /app/temp","timestamp":"2025-06-01T12:54:17.804Z"} -{"level":"info","message":"Директория доступна для записи: /app/temp","timestamp":"2025-06-01T12:54:17.805Z"} -{"level":"info","message":"Ethers version: 6.13.5","timestamp":"2025-06-01T12:54:18.083Z"} -{"level":"info","message":"[EmailBot] start() called","timestamp":"2025-06-01T12:54:18.101Z"} -{"host":"mail.hostland.ru","keepalive":{"forceNoop":true,"idleInterval":300000,"interval":10000},"level":"info","message":"[EmailBot] IMAP config:","password":"***","port":993,"timestamp":"2025-06-01T12:54:18.189Z","tls":true,"tlsOptions":{"rejectUnauthorized":false},"user":"info@hb3-accelerator.com"} -{"level":"info","message":"[EmailBot] IMAP connect attempt 1","timestamp":"2025-06-01T12:54:18.191Z"} -{"level":"info","message":"[EmailBot] IMAP connection ready","timestamp":"2025-06-01T12:54:18.849Z"} -{"level":"info","message":"[EmailBot] Email bot started and IMAP connection initiated","timestamp":"2025-06-01T12:54:18.851Z"} -{"level":"info","message":"DELETE /api/tables/3","timestamp":"2025-06-01T12:54:23.717Z"} -{"level":"info","message":"[IdentityService] Deleted identity tables:3 for user 1","timestamp":"2025-06-01T12:54:23.722Z"} -{"level":"info","message":"GET /api/tables?_t=1748782466922","timestamp":"2025-06-01T12:54:23.742Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T12:54:24.074Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T12:55:18.678Z"} -{"level":"warn","message":"[EmailBot] IMAP reconnecting in 10 seconds (attempt 2)...","timestamp":"2025-06-01T12:55:18.678Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:55:18.679Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:55:18.680Z"} -{"level":"info","message":"[EmailBot] IMAP connect attempt 2","timestamp":"2025-06-01T12:55:25.883Z"} -{"level":"info","message":"[EmailBot] IMAP connection ready","timestamp":"2025-06-01T12:55:26.525Z"} -{"level":"info","message":"[EmailBot] Email bot started and IMAP connection initiated","timestamp":"2025-06-01T12:55:26.527Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T12:55:31.780Z"} -{"level":"warn","message":"[EmailBot] IMAP reconnecting in 10 seconds (attempt 3)...","timestamp":"2025-06-01T12:55:31.781Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:55:31.781Z"} -{"level":"info","message":"[EmailBot] IMAP connect attempt 3","timestamp":"2025-06-01T12:55:41.818Z"} -{"level":"info","message":"[EmailBot] IMAP connection ready","timestamp":"2025-06-01T12:55:42.466Z"} -{"level":"info","message":"[EmailBot] Email bot started and IMAP connection initiated","timestamp":"2025-06-01T12:55:42.468Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T12:55:43.295Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T12:56:13.140Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T12:56:21.758Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T12:56:37.700Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T12:57:03.343Z"} -{"level":"info","message":"Директория существует: /app/contracts-data","timestamp":"2025-06-01T12:57:07.181Z"} -{"level":"info","message":"Директория доступна для записи: /app/contracts-data","timestamp":"2025-06-01T12:57:07.184Z"} -{"level":"info","message":"Директория существует: /app/contracts-data/dles","timestamp":"2025-06-01T12:57:07.186Z"} -{"level":"info","message":"Директория доступна для записи: /app/contracts-data/dles","timestamp":"2025-06-01T12:57:07.187Z"} -{"level":"info","message":"Директория существует: /app/temp","timestamp":"2025-06-01T12:57:07.187Z"} -{"level":"info","message":"Директория доступна для записи: /app/temp","timestamp":"2025-06-01T12:57:07.188Z"} -{"level":"info","message":"Ethers version: 6.13.5","timestamp":"2025-06-01T12:57:07.482Z"} -{"level":"info","message":"[EmailBot] start() called","timestamp":"2025-06-01T12:57:07.500Z"} -{"host":"mail.hostland.ru","keepalive":{"forceNoop":true,"idleInterval":300000,"interval":10000},"level":"info","message":"[EmailBot] IMAP config:","password":"***","port":993,"timestamp":"2025-06-01T12:57:07.594Z","tls":true,"tlsOptions":{"rejectUnauthorized":false},"user":"info@hb3-accelerator.com"} -{"level":"info","message":"[EmailBot] IMAP connect attempt 1","timestamp":"2025-06-01T12:57:07.596Z"} -{"level":"info","message":"[EmailBot] IMAP connection ready","timestamp":"2025-06-01T12:57:12.622Z"} -{"level":"info","message":"[EmailBot] Email bot started and IMAP connection initiated","timestamp":"2025-06-01T12:57:12.624Z"} -{"level":"info","message":"Директория существует: /app/contracts-data","timestamp":"2025-06-01T12:57:13.194Z"} -{"level":"info","message":"Директория доступна для записи: /app/contracts-data","timestamp":"2025-06-01T12:57:13.196Z"} -{"level":"info","message":"Директория существует: /app/contracts-data/dles","timestamp":"2025-06-01T12:57:13.197Z"} -{"level":"info","message":"Директория доступна для записи: /app/contracts-data/dles","timestamp":"2025-06-01T12:57:13.198Z"} -{"level":"info","message":"Директория существует: /app/temp","timestamp":"2025-06-01T12:57:13.198Z"} -{"level":"info","message":"Директория доступна для записи: /app/temp","timestamp":"2025-06-01T12:57:13.199Z"} -{"level":"info","message":"Ethers version: 6.13.5","timestamp":"2025-06-01T12:57:13.448Z"} -{"level":"info","message":"[EmailBot] start() called","timestamp":"2025-06-01T12:57:13.462Z"} -{"host":"mail.hostland.ru","keepalive":{"forceNoop":true,"idleInterval":300000,"interval":10000},"level":"info","message":"[EmailBot] IMAP config:","password":"***","port":993,"timestamp":"2025-06-01T12:57:13.504Z","tls":true,"tlsOptions":{"rejectUnauthorized":false},"user":"info@hb3-accelerator.com"} -{"level":"info","message":"[EmailBot] IMAP connect attempt 1","timestamp":"2025-06-01T12:57:13.505Z"} -{"level":"info","message":"[EmailBot] IMAP connection ready","timestamp":"2025-06-01T12:57:14.247Z"} -{"level":"info","message":"[EmailBot] Email bot started and IMAP connection initiated","timestamp":"2025-06-01T12:57:14.250Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T12:57:16.610Z"} -{"level":"warn","message":"[EmailBot] IMAP reconnecting in 10 seconds (attempt 2)...","timestamp":"2025-06-01T12:57:16.610Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:57:16.611Z"} -{"level":"info","message":"Директория существует: /app/contracts-data","timestamp":"2025-06-01T12:57:21.954Z"} -{"level":"info","message":"Директория доступна для записи: /app/contracts-data","timestamp":"2025-06-01T12:57:21.956Z"} -{"level":"info","message":"Директория существует: /app/contracts-data/dles","timestamp":"2025-06-01T12:57:21.957Z"} -{"level":"info","message":"Директория доступна для записи: /app/contracts-data/dles","timestamp":"2025-06-01T12:57:21.958Z"} -{"level":"info","message":"Директория существует: /app/temp","timestamp":"2025-06-01T12:57:21.959Z"} -{"level":"info","message":"Директория доступна для записи: /app/temp","timestamp":"2025-06-01T12:57:21.959Z"} -{"level":"info","message":"Ethers version: 6.13.5","timestamp":"2025-06-01T12:57:22.217Z"} -{"level":"info","message":"[EmailBot] start() called","timestamp":"2025-06-01T12:57:22.231Z"} -{"host":"mail.hostland.ru","keepalive":{"forceNoop":true,"idleInterval":300000,"interval":10000},"level":"info","message":"[EmailBot] IMAP config:","password":"***","port":993,"timestamp":"2025-06-01T12:57:22.301Z","tls":true,"tlsOptions":{"rejectUnauthorized":false},"user":"info@hb3-accelerator.com"} -{"level":"info","message":"[EmailBot] IMAP connect attempt 1","timestamp":"2025-06-01T12:57:22.302Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T12:57:27.541Z"} -{"level":"warn","message":"[EmailBot] IMAP reconnecting in 10 seconds (attempt 2)...","timestamp":"2025-06-01T12:57:27.542Z"} -{"level":"info","message":"[EmailBot] IMAP connect attempt 2","timestamp":"2025-06-01T12:57:37.555Z"} -{"level":"info","message":"[EmailBot] IMAP connection ready","timestamp":"2025-06-01T12:57:38.173Z"} -{"level":"info","message":"[EmailBot] Email bot started and IMAP connection initiated","timestamp":"2025-06-01T12:57:38.175Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T12:57:38.902Z"} -{"level":"info","message":"Директория существует: /app/contracts-data","timestamp":"2025-06-01T12:58:06.847Z"} -{"level":"info","message":"Директория доступна для записи: /app/contracts-data","timestamp":"2025-06-01T12:58:06.849Z"} -{"level":"info","message":"Директория существует: /app/contracts-data/dles","timestamp":"2025-06-01T12:58:06.850Z"} -{"level":"info","message":"Директория доступна для записи: /app/contracts-data/dles","timestamp":"2025-06-01T12:58:06.851Z"} -{"level":"info","message":"Директория существует: /app/temp","timestamp":"2025-06-01T12:58:06.851Z"} -{"level":"info","message":"Директория доступна для записи: /app/temp","timestamp":"2025-06-01T12:58:06.852Z"} -{"level":"info","message":"Ethers version: 6.13.5","timestamp":"2025-06-01T12:58:07.128Z"} -{"level":"info","message":"[EmailBot] start() called","timestamp":"2025-06-01T12:58:07.140Z"} -{"host":"mail.hostland.ru","keepalive":{"forceNoop":true,"idleInterval":300000,"interval":10000},"level":"info","message":"[EmailBot] IMAP config:","password":"***","port":993,"timestamp":"2025-06-01T12:58:07.200Z","tls":true,"tlsOptions":{"rejectUnauthorized":false},"user":"info@hb3-accelerator.com"} -{"level":"info","message":"[EmailBot] IMAP connect attempt 1","timestamp":"2025-06-01T12:58:07.201Z"} -{"level":"info","message":"[EmailBot] IMAP connection ready","timestamp":"2025-06-01T12:58:10.468Z"} -{"level":"info","message":"[EmailBot] Email bot started and IMAP connection initiated","timestamp":"2025-06-01T12:58:10.471Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T12:58:11.290Z"} -{"level":"info","message":"GET /api/tables?_t=1748782726377","timestamp":"2025-06-01T12:58:41.882Z"} -{"level":"info","message":"DELETE /api/tables/3","timestamp":"2025-06-01T12:58:47.493Z"} -{"level":"info","message":"[IdentityService] Deleted identity tables:3 for user 1","timestamp":"2025-06-01T12:58:47.510Z"} -{"level":"info","message":"GET /api/tables?_t=1748782731544","timestamp":"2025-06-01T12:58:47.534Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T12:59:05.984Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T13:00:04.844Z"} -{"level":"warn","message":"[EmailBot] IMAP reconnecting in 10 seconds (attempt 2)...","timestamp":"2025-06-01T13:00:04.845Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:00:04.845Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:00:04.846Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:00:04.846Z"} -{"level":"info","message":"[EmailBot] IMAP connect attempt 2","timestamp":"2025-06-01T13:00:14.854Z"} -{"level":"info","message":"[EmailBot] IMAP connection ready","timestamp":"2025-06-01T13:00:15.499Z"} -{"level":"info","message":"[EmailBot] Email bot started and IMAP connection initiated","timestamp":"2025-06-01T13:00:15.501Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:00:16.227Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:00:54.858Z"} -{"level":"info","message":"DELETE /api/tables/3","timestamp":"2025-06-01T13:01:03.499Z"} -{"level":"info","message":"[IdentityService] Deleted identity tables:3 for user 1","timestamp":"2025-06-01T13:01:03.505Z"} -{"level":"info","message":"GET /api/tables?_t=1748782867662","timestamp":"2025-06-01T13:01:03.626Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T13:01:15.296Z"} -{"level":"warn","message":"[EmailBot] IMAP reconnecting in 10 seconds (attempt 3)...","timestamp":"2025-06-01T13:01:15.296Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:01:15.297Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:01:15.297Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:01:15.297Z"} -{"level":"info","message":"[EmailBot] IMAP connect attempt 3","timestamp":"2025-06-01T13:01:22.243Z"} -{"level":"info","message":"[EmailBot] IMAP connection ready","timestamp":"2025-06-01T13:01:22.946Z"} -{"level":"info","message":"[EmailBot] Email bot started and IMAP connection initiated","timestamp":"2025-06-01T13:01:22.948Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:01:23.725Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:01:49.394Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:02:10.037Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T13:02:23.121Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:02:23.122Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:02:23.122Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:02:23.123Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:02:23.123Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:02:48.431Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:02:48.474Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:02:59.967Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:03:17.628Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:03:17.629Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:03:17.629Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:03:38.536Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:03:38.579Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:03:58.938Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:04:07.489Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:04:32.947Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:04:48.945Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:05:06.652Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:05:27.604Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:05:43.509Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:06:01.364Z"} -{"level":"info","message":"Директория существует: /app/contracts-data","timestamp":"2025-06-01T13:06:03.191Z"} -{"level":"info","message":"Директория доступна для записи: /app/contracts-data","timestamp":"2025-06-01T13:06:03.195Z"} -{"level":"info","message":"Директория существует: /app/contracts-data/dles","timestamp":"2025-06-01T13:06:03.196Z"} -{"level":"info","message":"Директория доступна для записи: /app/contracts-data/dles","timestamp":"2025-06-01T13:06:03.197Z"} -{"level":"info","message":"Директория существует: /app/temp","timestamp":"2025-06-01T13:06:03.198Z"} -{"level":"info","message":"Директория доступна для записи: /app/temp","timestamp":"2025-06-01T13:06:03.199Z"} -{"level":"info","message":"Ethers version: 6.13.5","timestamp":"2025-06-01T13:06:03.585Z"} -{"level":"info","message":"[EmailBot] start() called","timestamp":"2025-06-01T13:06:03.604Z"} -{"host":"mail.hostland.ru","keepalive":{"forceNoop":true,"idleInterval":300000,"interval":10000},"level":"info","message":"[EmailBot] IMAP config:","password":"***","port":993,"timestamp":"2025-06-01T13:06:03.660Z","tls":true,"tlsOptions":{"rejectUnauthorized":false},"user":"info@hb3-accelerator.com"} -{"level":"info","message":"[EmailBot] IMAP connect attempt 1","timestamp":"2025-06-01T13:06:03.661Z"} -{"level":"info","message":"[EmailBot] IMAP connection ready","timestamp":"2025-06-01T13:06:04.345Z"} -{"level":"info","message":"[EmailBot] Email bot started and IMAP connection initiated","timestamp":"2025-06-01T13:06:04.348Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:06:09.636Z"} -{"level":"info","message":"Директория существует: /app/contracts-data","timestamp":"2025-06-01T13:06:47.792Z"} -{"level":"info","message":"Директория доступна для записи: /app/contracts-data","timestamp":"2025-06-01T13:06:47.795Z"} -{"level":"info","message":"Директория существует: /app/contracts-data/dles","timestamp":"2025-06-01T13:06:47.795Z"} -{"level":"info","message":"Директория доступна для записи: /app/contracts-data/dles","timestamp":"2025-06-01T13:06:47.796Z"} -{"level":"info","message":"Директория существует: /app/temp","timestamp":"2025-06-01T13:06:47.797Z"} -{"level":"info","message":"Директория доступна для записи: /app/temp","timestamp":"2025-06-01T13:06:47.798Z"} -{"level":"info","message":"Ethers version: 6.13.5","timestamp":"2025-06-01T13:06:48.043Z"} -{"level":"info","message":"[EmailBot] start() called","timestamp":"2025-06-01T13:06:48.055Z"} -{"host":"mail.hostland.ru","keepalive":{"forceNoop":true,"idleInterval":300000,"interval":10000},"level":"info","message":"[EmailBot] IMAP config:","password":"***","port":993,"timestamp":"2025-06-01T13:06:48.091Z","tls":true,"tlsOptions":{"rejectUnauthorized":false},"user":"info@hb3-accelerator.com"} -{"level":"info","message":"[EmailBot] IMAP connect attempt 1","timestamp":"2025-06-01T13:06:48.092Z"} -{"level":"info","message":"[EmailBot] IMAP connection ready","timestamp":"2025-06-01T13:06:46.291Z"} -{"level":"info","message":"[EmailBot] Email bot started and IMAP connection initiated","timestamp":"2025-06-01T13:06:46.293Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T13:06:51.568Z"} -{"level":"warn","message":"[EmailBot] IMAP reconnecting in 10 seconds (attempt 2)...","timestamp":"2025-06-01T13:06:51.568Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:06:51.569Z"} -{"level":"info","message":"[EmailBot] IMAP connect attempt 2","timestamp":"2025-06-01T13:07:01.576Z"} -{"level":"info","message":"[EmailBot] IMAP connection ready","timestamp":"2025-06-01T13:07:02.283Z"} -{"level":"info","message":"[EmailBot] Email bot started and IMAP connection initiated","timestamp":"2025-06-01T13:07:02.285Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:07:03.072Z"} -{"level":"info","message":"GET /api/tables?_t=1748783227408","timestamp":"2025-06-01T13:07:03.882Z"} -{"level":"info","message":"DELETE /api/tables/3","timestamp":"2025-06-01T13:07:07.515Z"} -{"level":"info","message":"[IdentityService] Deleted identity tables:3 for user 1","timestamp":"2025-06-01T13:07:07.521Z"} -{"level":"info","message":"GET /api/tables?_t=1748783230754","timestamp":"2025-06-01T13:07:07.541Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:07:46.192Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T13:08:02.186Z"} -{"level":"warn","message":"[EmailBot] IMAP reconnecting in 10 seconds (attempt 3)...","timestamp":"2025-06-01T13:08:02.186Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:08:02.186Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:08:02.187Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:08:02.187Z"} -{"level":"info","message":"[EmailBot] IMAP connect attempt 3","timestamp":"2025-06-01T13:08:09.386Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T13:08:14.872Z"} -{"level":"info","message":"[EmailBot] IMAP connection ready","timestamp":"2025-06-01T13:08:35.970Z"} -{"level":"info","message":"[EmailBot] Email bot started and IMAP connection initiated","timestamp":"2025-06-01T13:08:35.972Z"} -{"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:98: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-01T13:08:35.973Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:08:36.775Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:08:56.585Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:08:56.586Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:08:56.586Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:09:31.275Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:09:31.320Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:09:31.364Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:09:46.668Z"} -{"level":"info","message":"Директория существует: /app/contracts-data","timestamp":"2025-06-01T13:10:24.890Z"} -{"level":"info","message":"Директория доступна для записи: /app/contracts-data","timestamp":"2025-06-01T13:10:24.892Z"} -{"level":"info","message":"Директория существует: /app/contracts-data/dles","timestamp":"2025-06-01T13:10:24.893Z"} -{"level":"info","message":"Директория доступна для записи: /app/contracts-data/dles","timestamp":"2025-06-01T13:10:24.894Z"} -{"level":"info","message":"Директория существует: /app/temp","timestamp":"2025-06-01T13:10:24.895Z"} -{"level":"info","message":"Директория доступна для записи: /app/temp","timestamp":"2025-06-01T13:10:24.895Z"} -{"level":"info","message":"Ethers version: 6.13.5","timestamp":"2025-06-01T13:10:25.143Z"} -{"level":"info","message":"[EmailBot] start() called","timestamp":"2025-06-01T13:10:25.156Z"} -{"host":"mail.hostland.ru","keepalive":{"forceNoop":true,"idleInterval":300000,"interval":10000},"level":"info","message":"[EmailBot] IMAP config:","password":"***","port":993,"timestamp":"2025-06-01T13:10:25.228Z","tls":true,"tlsOptions":{"rejectUnauthorized":false},"user":"info@hb3-accelerator.com"} -{"level":"info","message":"[EmailBot] IMAP connect attempt 1","timestamp":"2025-06-01T13:10:25.229Z"} -{"level":"info","message":"[EmailBot] IMAP connection ready","timestamp":"2025-06-01T13:10:25.910Z"} -{"level":"info","message":"[EmailBot] Email bot started and IMAP connection initiated","timestamp":"2025-06-01T13:10:25.913Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:10:28.121Z"} -{"level":"info","message":"Директория существует: /app/contracts-data","timestamp":"2025-06-01T13:10:52.505Z"} -{"level":"info","message":"Директория доступна для записи: /app/contracts-data","timestamp":"2025-06-01T13:10:52.507Z"} -{"level":"info","message":"Директория существует: /app/contracts-data/dles","timestamp":"2025-06-01T13:10:52.508Z"} -{"level":"info","message":"Директория доступна для записи: /app/contracts-data/dles","timestamp":"2025-06-01T13:10:52.509Z"} -{"level":"info","message":"Директория существует: /app/temp","timestamp":"2025-06-01T13:10:52.510Z"} -{"level":"info","message":"Директория доступна для записи: /app/temp","timestamp":"2025-06-01T13:10:52.512Z"} -{"level":"info","message":"Ethers version: 6.13.5","timestamp":"2025-06-01T13:10:52.765Z"} -{"level":"info","message":"[EmailBot] start() called","timestamp":"2025-06-01T13:10:52.778Z"} -{"host":"mail.hostland.ru","keepalive":{"forceNoop":true,"idleInterval":300000,"interval":10000},"level":"info","message":"[EmailBot] IMAP config:","password":"***","port":993,"timestamp":"2025-06-01T13:10:52.856Z","tls":true,"tlsOptions":{"rejectUnauthorized":false},"user":"info@hb3-accelerator.com"} -{"level":"info","message":"[EmailBot] IMAP connect attempt 1","timestamp":"2025-06-01T13:10:52.857Z"} -{"level":"info","message":"[EmailBot] IMAP connection ready","timestamp":"2025-06-01T13:10:55.437Z"} -{"level":"info","message":"[EmailBot] Email bot started and IMAP connection initiated","timestamp":"2025-06-01T13:10:55.440Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:10:56.197Z"} -{"level":"info","message":"GET /api/tables?_t=1748783462386","timestamp":"2025-06-01T13:10:57.823Z"} -{"level":"info","message":"DELETE /api/tables/3","timestamp":"2025-06-01T13:11:01.318Z"} -{"level":"info","message":"GET /api/tables?_t=1748783465630","timestamp":"2025-06-01T13:11:01.353Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:11:50.763Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:12:45.225Z"} -{"level":"info","message":"GET /api/tables/2","timestamp":"2025-06-01T13:13:14.069Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:13:39.789Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:14:34.258Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T13:15:24.737Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:15:24.742Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:15:24.800Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:15:24.805Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T13:15:24.848Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:15:24.859Z"} -{"level":"info","message":"GET /api/tokens/balances?address=0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T13:15:24.882Z"} -{"level":"info","message":"Fetching token balances for address: 0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T13:15:24.883Z"} -{"level":"info","message":"GET /api/dle","timestamp":"2025-06-01T13:15:24.933Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:15:24.965Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:15:24.972Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:15:24.994Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:15:24.997Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:15:25.023Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:15:25.036Z"} -{"level":"info","message":"GET /api/tables?_t=1748783734996","timestamp":"2025-06-01T13:15:30.166Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T13:15:33.243Z"} -{"level":"warn","message":"[EmailBot] IMAP reconnecting in 10 seconds (attempt 2)...","timestamp":"2025-06-01T13:15:33.244Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:15:33.244Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:15:33.245Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:15:33.245Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:15:33.245Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:15:33.245Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:15:33.246Z"} -{"level":"info","message":"DELETE /api/tables/2","timestamp":"2025-06-01T13:15:34.869Z"} -{"level":"info","message":"GET /api/tables?_t=1748783739298","timestamp":"2025-06-01T13:15:34.896Z"} -{"level":"info","message":"[EmailBot] IMAP connect attempt 2","timestamp":"2025-06-01T13:15:43.253Z"} -{"level":"info","message":"[EmailBot] IMAP connection ready","timestamp":"2025-06-01T13:15:48.289Z"} -{"level":"info","message":"[EmailBot] Email bot started and IMAP connection initiated","timestamp":"2025-06-01T13:15:48.291Z"} -{"level":"info","message":"POST /api/tables","timestamp":"2025-06-01T13:15:48.739Z"} -{"level":"info","message":"GET /api/tables?_t=1748783751907","timestamp":"2025-06-01T13:15:48.767Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T13:15:53.531Z"} -{"level":"warn","message":"[EmailBot] IMAP reconnecting in 10 seconds (attempt 3)...","timestamp":"2025-06-01T13:15:53.532Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:15:53.532Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:15:55.259Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:15:55.263Z"} -{"level":"info","message":"[EmailBot] IMAP connect attempt 3","timestamp":"2025-06-01T13:16:01.001Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T13:16:06.271Z"} -{"level":"info","message":"[EmailBot] IMAP connection ready","timestamp":"2025-06-01T13:16:23.499Z"} -{"level":"info","message":"[EmailBot] Email bot started and IMAP connection initiated","timestamp":"2025-06-01T13:16:23.501Z"} -{"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:98: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-01T13:16:23.502Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:16:25.565Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:16:25.568Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:16:28.695Z"} -{"level":"info","message":"GET /api/tables/4","timestamp":"2025-06-01T13:16:30.254Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:16:48.275Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T13:16:59.774Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:16:59.810Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:16:59.856Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:16:59.872Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T13:16:59.915Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:16:59.919Z"} -{"level":"info","message":"GET /api/tokens/balances?address=0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T13:16:59.985Z"} -{"level":"info","message":"Fetching token balances for address: 0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T13:16:59.989Z"} -{"level":"info","message":"GET /api/dle","timestamp":"2025-06-01T13:17:00.057Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:17:00.127Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:17:00.137Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:17:00.164Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:17:00.171Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:17:00.202Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:17:00.205Z"} -{"level":"info","message":"GET /api/chat/history?count_only=true","timestamp":"2025-06-01T13:17:03.483Z"} -{"level":"info","message":"GET /api/chat/history?offset=0&limit=30","timestamp":"2025-06-01T13:17:03.526Z"} -{"count":18,"level":"info","limit":30,"message":"Returning message history for user 1","offset":0,"timestamp":"2025-06-01T13:17:03.548Z","total":18} -{"level":"info","message":"GET /api/dle","timestamp":"2025-06-01T13:17:08.883Z"} -{"level":"info","message":"GET /api/tables?_t=1748783834072","timestamp":"2025-06-01T13:17:11.128Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:17:22.573Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:17:22.574Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:17:22.574Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:17:22.574Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:17:22.574Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:17:30.611Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:17:30.614Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:17:42.841Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:18:00.747Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:18:00.750Z"} -{"level":"info","message":"GET /api/tables?_t=1748783889722","timestamp":"2025-06-01T13:18:06.774Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:18:13.603Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:18:13.654Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:18:13.705Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:18:13.757Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:18:13.809Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:18:17.144Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:18:17.145Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:18:31.167Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:18:31.171Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:18:32.931Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:19:01.314Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:19:01.318Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:19:07.919Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:19:07.966Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:19:11.722Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:19:11.723Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:19:11.723Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:19:31.712Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:19:31.715Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:19:31.861Z"} -{"level":"info","message":"GET /api/tables/4","timestamp":"2025-06-01T13:19:40.927Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:19:59.105Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:19:59.109Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:20:06.223Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:20:06.224Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:20:06.224Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:20:22.060Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:20:22.102Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:20:22.149Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:20:29.515Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:20:29.518Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:20:57.067Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:20:57.122Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:20:59.789Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:20:59.792Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:21:00.825Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:21:00.825Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:21:00.825Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:21:21.116Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:21:44.367Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:21:44.371Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:21:56.049Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:21:56.100Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:21:56.153Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:22:00.131Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:22:00.134Z"} -{"level":"info","message":"GET /api/users","timestamp":"2025-06-01T13:22:03.854Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:22:15.614Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:22:15.615Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:22:15.615Z"} -{"level":"info","message":"GET /api/isic/codes?level=1","timestamp":"2025-06-01T13:22:15.364Z"} -{"level":"info","message":"GET /api/settings/rpc","timestamp":"2025-06-01T13:22:15.368Z"} -{"level":"info","message":"GET /api/settings/rpc","timestamp":"2025-06-01T13:22:17.318Z"} -{"level":"info","message":"GET /api/settings/auth-tokens","timestamp":"2025-06-01T13:22:17.337Z"} -{"level":"info","message":"GET /api/dle","timestamp":"2025-06-01T13:22:26.851Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:22:30.593Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:22:30.595Z"} -{"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-01T13:22:45.249Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:22:46.070Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:23:00.769Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:23:00.773Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:23:09.974Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:23:42.567Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:23:42.572Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:23:44.328Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:23:44.328Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:23:44.328Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:23:44.328Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:23:44.328Z"} -{"level":"info","message":"GET /api/tables?_t=1748784231013","timestamp":"2025-06-01T13:23:46.701Z"} -{"level":"info","message":"GET /api/tables/4","timestamp":"2025-06-01T13:23:50.117Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:24:01.263Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:24:01.267Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:24:04.569Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:24:31.690Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:24:31.693Z"} -{"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-01T13:24:34.225Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:24:34.940Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:24:54.542Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:25:28.567Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:25:28.572Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:25:33.534Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:25:33.534Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:25:33.535Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:25:33.535Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:25:33.535Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:25:49.449Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:25:49.491Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:25:49.539Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:25:59.743Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:25:59.746Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:26:28.054Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:26:28.055Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:26:28.055Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:26:30.043Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:26:30.046Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:26:44.051Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:26:44.101Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:26:44.154Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:27:00.222Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:27:00.225Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:27:23.322Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:27:23.323Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:27:23.323Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:27:30.594Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:27:30.598Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:27:43.035Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:28:00.712Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:28:00.716Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:28:13.650Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:28:13.707Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:28:13.763Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:28:13.819Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:28:13.874Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:28:30.960Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:28:30.963Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:28:37.605Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:28:37.605Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:28:37.605Z"} -{"level":"info","message":"GET /api/tables?_t=1748784524891","timestamp":"2025-06-01T13:28:39.932Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:29:01.066Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:29:01.070Z"} -{"level":"info","message":"PATCH /api/tables/4","timestamp":"2025-06-01T13:29:08.004Z"} -{"level":"info","message":"GET /api/tables?_t=1748784552746","timestamp":"2025-06-01T13:29:08.022Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:29:12.372Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:29:12.420Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:29:12.464Z"} -{"level":"info","message":"GET /api/tables/4","timestamp":"2025-06-01T13:29:21.312Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:29:31.676Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:29:31.680Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:29:32.074Z"} -{"level":"info","message":"GET /api/tables?_t=1748784601647","timestamp":"2025-06-01T13:29:59.099Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:29:59.043Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:29:59.047Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:30:06.234Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:30:06.235Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:30:06.235Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:30:06.235Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:30:06.236Z"} -{"level":"info","message":"GET /api/tables/4","timestamp":"2025-06-01T13:30:21.464Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:30:22.318Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:30:22.372Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:30:22.424Z"} -{"level":"info","message":"DELETE /api/tables/4","timestamp":"2025-06-01T13:30:27.615Z"} -{"level":"info","message":"GET /api/tables?_t=1748784632569","timestamp":"2025-06-01T13:30:27.635Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:30:29.321Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:30:29.324Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:30:56.959Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:30:57.004Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:30:59.536Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:30:59.539Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:31:00.791Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:31:00.792Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:31:00.792Z"} -{"level":"info","message":"POST /api/tables","timestamp":"2025-06-01T13:31:02.538Z"} -{"level":"info","message":"GET /api/tables?_t=1748784666860","timestamp":"2025-06-01T13:31:02.562Z"} -{"level":"info","message":"GET /api/tables/5","timestamp":"2025-06-01T13:31:06.173Z"} -{"level":"info","message":"POST /api/tables/5/columns","timestamp":"2025-06-01T13:31:12.795Z"} -{"level":"info","message":"GET /api/tables/5","timestamp":"2025-06-01T13:31:12.809Z"} -{"level":"info","message":"POST /api/tables/5/rows","timestamp":"2025-06-01T13:31:16.405Z"} -{"level":"info","message":"GET /api/tables/5","timestamp":"2025-06-01T13:31:16.452Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:31:16.740Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:31:29.884Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:31:29.887Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:31:55.225Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:31:55.225Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:31:55.226Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:32:00.183Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:32:00.186Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:32:11.219Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:32:11.264Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:32:11.310Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:32:30.577Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:32:30.581Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:32:45.854Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:32:45.900Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:33:05.695Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:33:09.665Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:33:09.669Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:33:31.102Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:33:31.107Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:33:40.391Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:33:40.434Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:33:44.284Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:33:44.285Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:33:44.285Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:33:44.285Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:33:44.285Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:33:44.286Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:34:01.153Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:34:01.156Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:34:04.511Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:34:31.515Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:34:31.518Z"} -{"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-01T13:34:34.438Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:34:39.532Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:34:54.983Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:34:59.148Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:34:59.151Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:35:33.575Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:35:33.575Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:35:33.575Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:35:33.575Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:35:33.576Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:35:33.576Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:35:43.765Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:35:43.769Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:35:49.629Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:35:49.682Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:35:49.728Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:36:28.780Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:36:28.832Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:36:44.051Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:36:44.307Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:36:44.310Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:37:17.978Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:37:17.982Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:37:22.712Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:37:22.713Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:37:22.713Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:37:22.713Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:37:22.713Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:37:22.713Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:37:30.526Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:37:30.529Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:37:38.649Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:37:38.692Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:37:38.738Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:38:00.628Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:38:00.632Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:38:17.269Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:38:17.269Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:38:17.270Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:38:31.090Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:38:31.094Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:38:37.670Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:39:00.967Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:39:00.971Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:39:11.851Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:39:11.852Z"} -{"level":"info","message":"GET /api/users","timestamp":"2025-06-01T13:39:13.576Z"} -{"level":"info","message":"GET /api/tables?_t=1748785173990","timestamp":"2025-06-01T13:39:31.334Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:39:31.458Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:39:31.461Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:39:32.380Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:39:32.426Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:39:32.470Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:39:32.515Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:39:32.560Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:39:32.604Z"} -{"level":"info","message":"GET /api/tables/5","timestamp":"2025-06-01T13:39:31.745Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:39:58.962Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:39:58.965Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:40:02.481Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:40:02.536Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:40:06.385Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:40:06.386Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:40:06.386Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:40:22.346Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:40:29.306Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:40:29.309Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:40:56.902Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:40:56.948Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:40:59.447Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:40:59.449Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:41:00.818Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:41:00.819Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:41:00.819Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:41:21.277Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:41:29.865Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:41:29.870Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:41:55.333Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:41:55.334Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:41:55.335Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:41:59.943Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:41:59.945Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:42:11.797Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:42:11.850Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:42:11.905Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:42:30.497Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:42:30.501Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:42:50.061Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:42:50.062Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:42:50.062Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:43:00.562Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:43:00.565Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:43:06.792Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:43:06.904Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:43:07.016Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:43:31.068Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:43:31.073Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:43:44.501Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:43:44.501Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:43:44.502Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:44:01.159Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:44:01.202Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:44:01.358Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:44:32.588Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:44:32.593Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:44:39.448Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:44:39.449Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:44:39.449Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T13:44:43.990Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:44:57.552Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:45:31.616Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:45:31.620Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:45:34.003Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:45:34.004Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T13:45:35.365Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T13:45:38.523Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:45:57.304Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T13:46:23.401Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T13:46:23.402Z"} -{"level":"error","message":"Uncaught Exception: Timed out while authenticating with server","source":"timeout-auth","stack":"Error: Timed out while authenticating with server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:139:17)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T13:46:29.033Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T13:46:29.876Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:46:33.119Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:46:33.123Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:46:48.814Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:46:59.958Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:46:59.963Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T13:47:16.367Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:47:16.371Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:47:16.428Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:47:16.431Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T13:47:16.460Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:47:16.464Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:47:16.486Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:47:16.491Z"} -{"level":"info","message":"GET /api/tokens/balances?address=0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T13:47:16.513Z"} -{"level":"info","message":"Fetching token balances for address: 0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T13:47:16.514Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:47:16.520Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:47:16.525Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:47:16.552Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:47:16.555Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:47:22.968Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:47:22.969Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T13:47:24.629Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T13:47:27.484Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:47:43.555Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:47:47.344Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:47:47.348Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:48:14.845Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:48:14.908Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:48:14.979Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:48:15.041Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:48:15.109Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:48:15.171Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:48:15.243Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:48:15.429Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:48:15.474Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:48:15.540Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:48:15.584Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:48:15.765Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:48:15.833Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:48:16.105Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:48:17.540Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:48:17.541Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:48:17.873Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:48:17.878Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T13:48:18.776Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:48:34.464Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:48:48.139Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:48:48.143Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T13:49:00.191Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:00.195Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:49:00.223Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:00.227Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T13:49:00.250Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:00.257Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:49:00.285Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:00.289Z"} -{"level":"info","message":"GET /api/tokens/balances?address=0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T13:49:00.303Z"} -{"level":"info","message":"Fetching token balances for address: 0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T13:49:00.305Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:49:00.319Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:00.323Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:49:00.348Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:00.352Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T13:49:03.796Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:03.801Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:49:03.825Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:03.828Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T13:49:03.847Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:03.849Z"} -{"level":"info","message":"GET /api/tokens/balances?address=0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T13:49:03.859Z"} -{"level":"info","message":"Fetching token balances for address: 0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T13:49:03.866Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:49:03.889Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:03.893Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:49:03.916Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:03.920Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:49:03.947Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:03.949Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T13:49:03.767Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:03.771Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:49:03.811Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:03.821Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T13:49:09.043Z"} -{"level":"info","message":"GET /api/tokens/balances?address=0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T13:49:09.049Z"} -{"level":"info","message":"Fetching token balances for address: 0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T13:49:09.051Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:09.053Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:49:09.075Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:09.079Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:49:09.099Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:09.104Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:49:09.119Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:09.122Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:49:12.034Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:49:12.035Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:49:12.036Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T13:49:24.961Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:24.965Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:49:25.026Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:25.028Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T13:49:25.050Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:25.052Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:49:25.083Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:25.085Z"} -{"level":"info","message":"GET /api/tokens/balances?address=0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T13:49:25.097Z"} -{"level":"info","message":"Fetching token balances for address: 0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T13:49:25.097Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:49:25.116Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:25.123Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:49:25.142Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:25.146Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:49:28.436Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:49:28.550Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:49:28.614Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T13:49:43.515Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:43.519Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:49:43.588Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:43.591Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T13:49:43.624Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:43.627Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:49:43.654Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:43.659Z"} -{"level":"info","message":"GET /api/tokens/balances?address=0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T13:49:43.665Z"} -{"level":"info","message":"Fetching token balances for address: 0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T13:49:43.666Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:49:43.689Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:43.695Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:49:43.715Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:43.719Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T13:49:48.631Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:48.633Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:49:48.710Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:48.713Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T13:49:48.741Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:48.744Z"} -{"level":"info","message":"GET /api/tokens/balances?address=0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T13:49:48.750Z"} -{"level":"info","message":"Fetching token balances for address: 0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T13:49:48.751Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:49:48.768Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:48.771Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:49:48.799Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:48.804Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:49:48.822Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:48.825Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T13:49:54.247Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:54.250Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:49:54.323Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:54.326Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T13:49:54.369Z"} -{"level":"info","message":"GET /api/tokens/balances?address=0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T13:49:54.372Z"} -{"level":"info","message":"Fetching token balances for address: 0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T13:49:54.373Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:54.375Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:49:54.411Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:54.415Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:49:54.434Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:54.437Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:49:54.458Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:49:54.462Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:50:06.545Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:50:06.546Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:50:06.546Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T13:50:11.115Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:50:23.842Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:50:23.928Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:50:24.066Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:50:25.375Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:50:25.379Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T13:50:45.532Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:50:45.537Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:50:45.563Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:50:45.566Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T13:50:45.585Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:50:45.588Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:50:45.612Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:50:45.617Z"} -{"level":"info","message":"GET /api/tokens/balances?address=0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T13:50:45.632Z"} -{"level":"info","message":"Fetching token balances for address: 0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T13:50:45.636Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:50:45.647Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:50:45.649Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:50:45.666Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:50:45.669Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T13:50:51.037Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:50:51.039Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:50:51.125Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:50:51.127Z"} -{"level":"info","message":"GET /api/tokens/balances?address=0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T13:50:51.171Z"} -{"level":"info","message":"Fetching token balances for address: 0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T13:50:51.171Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T13:50:51.197Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:50:51.199Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:50:51.278Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:50:51.281Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:50:51.299Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:50:51.302Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:50:51.320Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:50:51.322Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:51:01.000Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:51:01.001Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:51:01.001Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T13:51:02.524Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T13:51:21.302Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:51:21.306Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:51:21.331Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:51:21.334Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T13:51:21.356Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:51:21.358Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:51:21.380Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:51:21.384Z"} -{"level":"info","message":"GET /api/tokens/balances?address=0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T13:51:21.396Z"} -{"level":"info","message":"Fetching token balances for address: 0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T13:51:21.397Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:51:21.420Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:51:21.424Z"} -{"level":"info","message":"GET /api/dle","timestamp":"2025-06-01T13:51:21.492Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:51:21.495Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:51:21.514Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:51:21.517Z"} -{"level":"info","message":"GET /api/tables?_t=1748785893327","timestamp":"2025-06-01T13:51:28.931Z"} -{"level":"info","message":"GET /api/tables/5","timestamp":"2025-06-01T13:51:37.017Z"} -{"level":"info","message":"POST /api/tables/5/columns","timestamp":"2025-06-01T13:51:44.963Z"} -{"level":"info","message":"GET /api/tables/5","timestamp":"2025-06-01T13:51:45.006Z"} -{"level":"info","message":"POST /api/tables/5/rows","timestamp":"2025-06-01T13:51:47.024Z"} -{"level":"info","message":"GET /api/tables/5","timestamp":"2025-06-01T13:51:47.064Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:51:49.145Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:51:49.147Z"} -{"level":"info","message":"POST /api/tables/cell","timestamp":"2025-06-01T13:51:50.232Z"} -{"ip":"::ffff:172.18.0.1","level":"error","message":"Error: null value in column \"row_id\" of relation \"user_cell_values\" violates not-null constraint","method":"POST","stack":"error: null value in column \"row_id\" of relation \"user_cell_values\" violates not-null constraint\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 /app/routes/tables.js:98:20","timestamp":"2025-06-01T13:51:50.270Z","url":"/api/tables/cell","userId":1} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:51:52.652Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:51:52.717Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:51:52.808Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:51:52.879Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:51:52.993Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:52:19.181Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:52:19.479Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:52:19.484Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T13:52:45.247Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T13:52:45.248Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T13:52:45.249Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T13:52:45.249Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T13:52:45.250Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:52:49.458Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:52:49.463Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T13:52:54.606Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:53:06.905Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:53:07.014Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:53:07.127Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:53:19.930Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:53:19.934Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:53:44.904Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:53:44.905Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:53:44.905Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T13:53:45.796Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:53:50.304Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:53:50.308Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:54:05.329Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:54:20.341Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:54:20.345Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T13:54:34.464Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T13:54:34.465Z"} -{"level":"error","message":"Uncaught Exception: Timed out while authenticating with server","source":"timeout-auth","stack":"Error: Timed out while authenticating with server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:139:17)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T13:54:39.847Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:54:50.794Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:54:50.804Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:54:56.467Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:54:56.580Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:54:56.659Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:54:56.808Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:54:56.917Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:54:57.031Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:55:20.841Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:55:20.844Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:55:33.932Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:55:33.933Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:55:33.933Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T13:55:35.269Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:55:51.379Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:55:51.383Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:55:52.167Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:55:52.322Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:55:52.397Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:56:21.459Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:56:21.463Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:56:28.573Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:56:28.574Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:56:28.574Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T13:56:33.108Z"} -{"level":"info","message":"POST /api/tables/5/columns","timestamp":"2025-06-01T13:56:34.943Z"} -{"level":"info","message":"GET /api/tables/5","timestamp":"2025-06-01T13:56:34.970Z"} -{"level":"info","message":"POST /api/tables/5/rows","timestamp":"2025-06-01T13:56:39.193Z"} -{"level":"info","message":"GET /api/tables/5","timestamp":"2025-06-01T13:56:39.239Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:56:49.071Z"} -{"level":"info","message":"POST /api/tables","timestamp":"2025-06-01T13:56:54.771Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:56:54.775Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:56:54.780Z"} -{"level":"info","message":"GET /api/tables?_t=1748786214796","timestamp":"2025-06-01T13:56:49.518Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T13:57:18.235Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T13:57:18.235Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:57:19.323Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:57:19.327Z"} -{"level":"error","message":"Uncaught Exception: Timed out while authenticating with server","source":"timeout-auth","stack":"Error: Timed out while authenticating with server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:139:17)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T13:57:22.920Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T13:57:24.248Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:57:43.441Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:57:49.722Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:57:49.725Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:58:14.838Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:58:14.985Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:58:15.101Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:58:15.210Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:58:15.323Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:58:15.377Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:58:15.548Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:58:15.641Z"} -{"level":"error","message":"IMAP connection error during check: This socket has been ended by the other party","timestamp":"2025-06-01T13:58:18.318Z"} -{"level":"error","message":"IMAP connection error during check: This socket has been ended by the other party","timestamp":"2025-06-01T13:58:18.318Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:58:19.911Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:58:19.915Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T13:58:38.190Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:59:02.479Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:59:02.484Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T13:59:07.369Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T13:59:07.370Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T13:59:07.370Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T13:59:16.600Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:59:20.391Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:59:20.395Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:59:32.648Z"} -{"level":"info","message":"POST /api/tables/6/columns","timestamp":"2025-06-01T13:59:39.262Z"} -{"level":"info","message":"GET /api/tables/6","timestamp":"2025-06-01T13:59:39.309Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T13:59:50.754Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T13:59:50.758Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:00:06.570Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:00:06.570Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:00:07.403Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:00:11.062Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:00:20.865Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:00:20.869Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:00:23.737Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:00:23.850Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:00:23.961Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:00:24.075Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:00:24.147Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:00:24.299Z"} -{"level":"info","message":"GET /api/tables?_t=1748786450817","timestamp":"2025-06-01T14:00:47.608Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:00:51.335Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:00:51.339Z"} -{"level":"info","message":"GET /api/tables/5","timestamp":"2025-06-01T14:00:59.145Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:01:01.053Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:01:01.054Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:01:01.054Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:01:02.304Z"} -{"level":"info","message":"GET /api/tables?_t=1748786478472","timestamp":"2025-06-01T14:01:15.064Z"} -{"level":"info","message":"GET /api/tables/6","timestamp":"2025-06-01T14:01:16.888Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:01:17.736Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:01:17.848Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:01:17.961Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:01:21.327Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:01:21.330Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:01:49.079Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:01:49.083Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T14:01:53.470Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:01:53.473Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:01:53.576Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:01:53.581Z"} -{"level":"info","message":"GET /api/tokens/balances?address=0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T14:01:53.652Z"} -{"level":"info","message":"Fetching token balances for address: 0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T14:01:53.654Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T14:01:53.689Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:01:53.694Z"} -{"level":"info","message":"GET /api/dle","timestamp":"2025-06-01T14:01:53.740Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:01:53.766Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:01:53.772Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:01:53.805Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:01:53.808Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:01:53.841Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:01:53.844Z"} -{"level":"info","message":"GET /api/tables?_t=1748786520265","timestamp":"2025-06-01T14:01:55.512Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:01:55.533Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:01:55.534Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:01:55.534Z"} -{"level":"info","message":"GET /api/tables/5","timestamp":"2025-06-01T14:01:58.025Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:02:16.043Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:02:24.802Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:02:24.806Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T14:02:45.737Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T14:02:45.738Z"} -{"level":"error","message":"Uncaught Exception: Timed out while authenticating with server","source":"timeout-auth","stack":"Error: Timed out while authenticating with server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:139:17)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:02:54.330Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:02:54.962Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:02:55.227Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:02:55.233Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:03:13.936Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:03:14.000Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:03:08.754Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:03:08.925Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:03:08.988Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:03:09.058Z"} -{"level":"info","message":"GET /api/dle","timestamp":"2025-06-01T14:03:11.777Z"} -{"level":"info","message":"GET /api/tables?_t=1748786598920","timestamp":"2025-06-01T14:03:14.017Z"} -{"level":"info","message":"GET /api/tables/6","timestamp":"2025-06-01T14:03:16.393Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:03:24.798Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:03:24.803Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:03:44.962Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:03:44.963Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:03:44.963Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:03:49.493Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:03:49.772Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:03:55.774Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:03:55.785Z"} -{"level":"info","message":"GET /api/tables/5","timestamp":"2025-06-01T14:03:56.018Z"} -{"level":"info","message":"GET /api/tables?_t=1748786639482","timestamp":"2025-06-01T14:03:56.055Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:04:01.825Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:04:01.940Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:04:02.049Z"} -{"level":"info","message":"GET /api/tables/6","timestamp":"2025-06-01T14:04:03.089Z"} -{"level":"info","message":"GET /api/tables/5","timestamp":"2025-06-01T14:04:04.853Z"} -{"level":"info","message":"GET /api/tables/6","timestamp":"2025-06-01T14:04:03.896Z"} -{"level":"info","message":"GET /api/tables/5","timestamp":"2025-06-01T14:04:05.598Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:04:25.270Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:04:25.276Z"} -{"level":"info","message":"PATCH /api/tables/column/4","timestamp":"2025-06-01T14:04:32.431Z"} -{"ip":"::ffff:172.18.0.1","level":"error","message":"Error: column \"updated_at\" of relation \"user_columns\" does not exist","method":"PATCH","stack":"error: column \"updated_at\" of relation \"user_columns\" 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 /app/routes/tables.js:168:20","timestamp":"2025-06-01T14:04:32.473Z","url":"/api/tables/column/4","userId":1} -{"level":"info","message":"PATCH /api/tables/column/4","timestamp":"2025-06-01T14:04:32.530Z"} -{"ip":"::ffff:172.18.0.1","level":"error","message":"Error: column \"updated_at\" of relation \"user_columns\" does not exist","method":"PATCH","stack":"error: column \"updated_at\" of relation \"user_columns\" 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 /app/routes/tables.js:168:20","timestamp":"2025-06-01T14:04:32.566Z","url":"/api/tables/column/4","userId":1} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T14:04:34.517Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T14:04:34.518Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T14:04:34.519Z"} -{"level":"error","message":"Uncaught Exception: Timed out while authenticating with server","source":"timeout-auth","stack":"Error: Timed out while authenticating with server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:139:17)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:04:40.137Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:04:40.873Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:04:56.084Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:04:56.191Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:04:56.292Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:04:56.310Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:04:56.315Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:05:26.269Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:05:26.274Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:05:30.592Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:05:30.705Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:05:34.012Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:05:34.013Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:05:34.013Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:05:35.550Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:05:54.263Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:06:20.119Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:06:20.125Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T14:06:23.536Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T14:06:23.537Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:06:23.749Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:06:23.753Z"} -{"level":"error","message":"Uncaught Exception: Timed out while authenticating with server","source":"timeout-auth","stack":"Error: Timed out while authenticating with server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:139:17)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:06:29.153Z"} -{"level":"info","message":"PATCH /api/tables/column/4","timestamp":"2025-06-01T14:06:34.487Z"} -{"level":"info","message":"PATCH /api/tables/column/4","timestamp":"2025-06-01T14:06:34.490Z"} -{"ip":"::ffff:172.18.0.1","level":"error","message":"Error: column \"updated_at\" of relation \"user_columns\" does not exist","method":"PATCH","stack":"error: column \"updated_at\" of relation \"user_columns\" 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 /app/routes/tables.js:168:20","timestamp":"2025-06-01T14:06:34.510Z","url":"/api/tables/column/4","userId":1} -{"ip":"::ffff:172.18.0.1","level":"error","message":"Error: column \"updated_at\" of relation \"user_columns\" does not exist","method":"PATCH","stack":"error: column \"updated_at\" of relation \"user_columns\" 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 /app/routes/tables.js:168:20","timestamp":"2025-06-01T14:06:34.533Z","url":"/api/tables/column/4","userId":1} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:06:49.286Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:06:49.444Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:06:49.568Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:06:52.249Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:06:54.681Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:06:54.687Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:07:19.538Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:07:19.651Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:07:22.950Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:07:22.950Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:07:22.951Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:07:24.722Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:07:24.822Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:07:24.827Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:07:39.657Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:08:17.572Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:08:17.572Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:08:17.572Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:08:22.108Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:08:26.422Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:08:26.434Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:08:38.006Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:09:12.007Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:09:12.007Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:09:13.141Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:09:16.601Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:09:27.979Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:09:27.984Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:09:29.205Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:09:29.319Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:09:29.432Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:09:29.542Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:09:29.623Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:09:29.767Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:10:06.492Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:10:06.493Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:10:06.493Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:10:07.723Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:10:11.079Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:10:26.925Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:10:27.037Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:10:27.041Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:11:00.881Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:11:00.882Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:11:02.214Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:11:18.174Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:11:18.287Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:11:18.400Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:11:18.512Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:11:18.625Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:11:18.678Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:11:28.685Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:11:28.689Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:11:56.561Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:11:56.563Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:11:56.564Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:12:00.478Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:12:12.708Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:12:12.822Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:12:12.934Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:12:15.250Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:12:15.255Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:12:24.766Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:12:24.770Z"} -{"level":"info","message":"Function link_guest_messages.sql executed successfully","timestamp":"2025-06-01T14:12:42.209Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:12:50.560Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:12:50.560Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:12:50.561Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:12:55.023Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:12:55.164Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:12:55.169Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:12:55.680Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:13:10.680Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:13:26.510Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:13:26.515Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T14:13:29.568Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:13:29.570Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:13:29.646Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:13:29.649Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T14:13:29.694Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:13:29.697Z"} -{"level":"info","message":"GET /api/tokens/balances?address=0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T14:13:29.720Z"} -{"level":"info","message":"Fetching token balances for address: 0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T14:13:29.721Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:13:29.726Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:13:29.730Z"} -{"level":"info","message":"GET /api/dle","timestamp":"2025-06-01T14:13:29.770Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:13:29.789Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:13:29.792Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:13:29.810Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:13:29.813Z"} -{"level":"info","message":"GET /api/tables?_t=1748787215243","timestamp":"2025-06-01T14:13:31.861Z"} -{"level":"info","message":"GET /api/tables/5","timestamp":"2025-06-01T14:13:33.857Z"} -{"level":"info","message":"PATCH /api/tables/column/4","timestamp":"2025-06-01T14:13:38.705Z"} -{"ip":"::ffff:172.18.0.1","level":"error","message":"Error: column \"updated_at\" of relation \"user_columns\" does not exist","method":"PATCH","stack":"error: column \"updated_at\" of relation \"user_columns\" 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 /app/routes/tables.js:168:20","timestamp":"2025-06-01T14:13:38.721Z","url":"/api/tables/column/4","userId":1} -{"level":"info","message":"PATCH /api/tables/column/4","timestamp":"2025-06-01T14:13:38.749Z"} -{"ip":"::ffff:172.18.0.1","level":"error","message":"Error: column \"updated_at\" of relation \"user_columns\" does not exist","method":"PATCH","stack":"error: column \"updated_at\" of relation \"user_columns\" 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 /app/routes/tables.js:168:20","timestamp":"2025-06-01T14:13:38.765Z","url":"/api/tables/column/4","userId":1} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:13:41.773Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:13:41.885Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:13:41.999Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:13:42.110Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:13:42.223Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:13:45.094Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:13:45.095Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:13:46.280Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:13:49.544Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:14:01.154Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:14:01.158Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:14:05.766Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:14:31.225Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:14:31.230Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:14:35.836Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:14:35.948Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:14:39.614Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:14:39.615Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:14:39.615Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:14:44.117Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:14:56.224Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:14:58.999Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:14:59.003Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:15:29.229Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:15:29.234Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:15:34.134Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:15:34.135Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:15:34.135Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:15:38.607Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:15:50.635Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:15:50.746Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:15:50.863Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:15:59.555Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:15:59.558Z"} -{"level":"info","message":"Function link_guest_messages.sql executed successfully","timestamp":"2025-06-01T14:16:14.599Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:16:29.150Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:16:29.150Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:16:29.151Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:16:30.561Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:16:30.564Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:16:30.684Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T14:16:45.912Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:16:45.916Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:16:45.984Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:16:46.000Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T14:16:46.058Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:16:46.062Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:16:46.086Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:16:46.089Z"} -{"level":"info","message":"GET /api/tokens/balances?address=0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T14:16:46.097Z"} -{"level":"info","message":"Fetching token balances for address: 0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T14:16:46.098Z"} -{"level":"info","message":"GET /api/dle","timestamp":"2025-06-01T14:16:46.156Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:16:46.186Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:16:46.191Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:16:46.212Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:16:46.215Z"} -{"level":"info","message":"GET /api/tables?_t=1748787410588","timestamp":"2025-06-01T14:16:48.529Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:16:49.883Z"} -{"level":"info","message":"GET /api/tables/5","timestamp":"2025-06-01T14:16:51.596Z"} -{"ip":"::ffff:172.18.0.1","level":"error","message":"Error: relation \"user_columns\" does not exist","method":"GET","stack":"error: relation \"user_columns\" 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 /app/routes/tables.js:41:22","timestamp":"2025-06-01T14:16:51.620Z","url":"/api/tables/5","userId":1} -{"level":"info","message":"GET /api/tables/6","timestamp":"2025-06-01T14:16:58.273Z"} -{"ip":"::ffff:172.18.0.1","level":"error","message":"Error: relation \"user_columns\" does not exist","method":"GET","stack":"error: relation \"user_columns\" 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 /app/routes/tables.js:41:22","timestamp":"2025-06-01T14:16:58.294Z","url":"/api/tables/6","userId":1} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:17:16.586Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:17:16.591Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:17:23.182Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:17:23.183Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:17:27.611Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:17:40.018Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:17:40.130Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:17:40.244Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:17:40.331Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:17:40.467Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:17:40.583Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:17:44.182Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:17:44.187Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:18:14.183Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:18:14.187Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:18:17.543Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:18:17.544Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:18:17.544Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:18:18.767Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:18:22.099Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T14:18:26.591Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:18:26.596Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:18:26.655Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:18:26.659Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T14:18:26.713Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:18:26.716Z"} -{"level":"info","message":"GET /api/tokens/balances?address=0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T14:18:26.750Z"} -{"level":"info","message":"Fetching token balances for address: 0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T14:18:26.751Z"} -{"level":"info","message":"GET /api/dle","timestamp":"2025-06-01T14:18:26.798Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:18:26.820Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:18:26.824Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:18:26.857Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:18:26.860Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:18:26.885Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:18:26.888Z"} -{"level":"info","message":"GET /api/tables?_t=1748787512708","timestamp":"2025-06-01T14:18:28.985Z"} -{"level":"info","message":"GET /api/tables/5","timestamp":"2025-06-01T14:18:32.076Z"} -{"ip":"::ffff:172.18.0.1","level":"error","message":"Error: relation \"user_columns\" does not exist","method":"GET","stack":"error: relation \"user_columns\" 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 /app/routes/tables.js:41:22","timestamp":"2025-06-01T14:18:32.090Z","url":"/api/tables/5","userId":1} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:18:38.479Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:18:38.592Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:18:41.547Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:18:57.906Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:18:57.911Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:19:12.901Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:19:12.902Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:19:12.902Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:19:16.584Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:19:27.854Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:19:27.858Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:19:32.492Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:19:58.398Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:19:58.402Z"} -{"level":"info","message":"GET /api/tables/6","timestamp":"2025-06-01T14:20:00.488Z"} -{"ip":"::ffff:172.18.0.1","level":"error","message":"Error: relation \"user_columns\" does not exist","method":"GET","stack":"error: relation \"user_columns\" 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 /app/routes/tables.js:41:22","timestamp":"2025-06-01T14:20:00.513Z","url":"/api/tables/6","userId":1} -{"level":"info","message":"GET /api/tables/5","timestamp":"2025-06-01T14:20:04.388Z"} -{"ip":"::ffff:172.18.0.1","level":"error","message":"Error: relation \"user_columns\" does not exist","method":"GET","stack":"error: relation \"user_columns\" 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 /app/routes/tables.js:41:22","timestamp":"2025-06-01T14:20:04.400Z","url":"/api/tables/5","userId":1} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:20:06.485Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:20:06.486Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T14:20:10.822Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:20:10.828Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:20:10.915Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:20:10.924Z"} -{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-01T14:20:10.963Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:20:10.967Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:20:11.002Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:20:11.009Z"} -{"level":"info","message":"GET /api/tokens/balances?address=0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T14:20:11.013Z"} -{"level":"info","message":"Fetching token balances for address: 0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-01T14:20:11.014Z"} -{"level":"info","message":"GET /api/dle","timestamp":"2025-06-01T14:20:11.074Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:20:11.102Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:20:11.113Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:20:11.122Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:20:11.164Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:20:11.168Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:20:11.804Z"} -{"level":"info","message":"GET /api/tables?_t=1748787617069","timestamp":"2025-06-01T14:20:12.795Z"} -{"level":"info","message":"GET /api/tables/5","timestamp":"2025-06-01T14:20:15.644Z"} -{"ip":"::ffff:172.18.0.1","level":"error","message":"Error: relation \"user_columns\" does not exist","method":"GET","stack":"error: relation \"user_columns\" 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 /app/routes/tables.js:41:22","timestamp":"2025-06-01T14:20:15.672Z","url":"/api/tables/5","userId":1} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:20:27.055Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:20:42.374Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:20:42.378Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:21:01.439Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:21:01.440Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:21:02.675Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:21:05.997Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:21:12.777Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:21:12.781Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:21:18.784Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:21:18.842Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:21:19.004Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:21:19.119Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:21:19.190Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:21:19.343Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:21:19.435Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:21:19.568Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:21:19.622Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:21:42.862Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:21:42.869Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:21:55.972Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:21:55.973Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:21:55.973Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:22:00.452Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:22:12.251Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:22:12.364Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:22:12.477Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:22:13.221Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:22:13.225Z"} -{"level":"info","message":"Function link_guest_messages.sql executed successfully","timestamp":"2025-06-01T14:22:42.488Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:22:43.354Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:22:43.358Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:22:50.614Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:22:50.615Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:22:50.615Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:22:51.727Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:22:55.083Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:23:07.115Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:23:07.228Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:23:07.341Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:23:11.121Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:23:11.127Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:23:42.461Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:23:42.467Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:23:45.075Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:23:45.076Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:23:45.076Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:23:46.369Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:23:49.616Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:24:01.625Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:24:01.681Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:24:01.800Z"} -{"level":"info","message":"Executing UP migration from 028_create_dynamic_tables.sql...","timestamp":"2025-06-01T14:24:37.203Z"} -{"code":"42P01","file":"namespace.c","length":110,"level":"error","line":"434","message":"Error executing migration 028_create_dynamic_tables.sql: relation \"user_columns\" does not exist","name":"error","routine":"RangeVarGetRelidExtended","severity":"ERROR","stack":"error: relation \"user_columns\" 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 runMigrations (/app/scripts/run-migrations.js:77:11)","timestamp":"2025-06-01T14:24:37.212Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:24:39.543Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:24:39.544Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:24:39.545Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:24:40.703Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:24:42.953Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:24:42.964Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:24:44.101Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:25:00.335Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:25:00.491Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:25:00.600Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:25:34.214Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:25:34.214Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:25:34.214Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:25:38.580Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:25:43.435Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:25:43.444Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:25:50.724Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:25:50.834Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:25:50.950Z"} -{"level":"info","message":"Executing UP migration from 028_create_dynamic_tables.sql...","timestamp":"2025-06-01T14:25:53.043Z"} -{"level":"info","message":"Migration 028_create_dynamic_tables.sql executed successfully","timestamp":"2025-06-01T14:25:53.097Z"} -{"level":"info","message":"Function link_guest_messages.sql executed successfully","timestamp":"2025-06-01T14:25:53.104Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:26:12.464Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:26:12.472Z"} -{"level":"info","message":"GET /api/tables/6","timestamp":"2025-06-01T14:26:17.601Z"} -{"level":"info","message":"GET /api/tables/5","timestamp":"2025-06-01T14:26:19.353Z"} -{"level":"info","message":"POST /api/tables/5/columns","timestamp":"2025-06-01T14:26:23.160Z"} -{"level":"info","message":"GET /api/tables/5","timestamp":"2025-06-01T14:26:23.185Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:26:28.660Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:26:28.660Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:26:28.661Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:26:29.827Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:26:33.094Z"} -{"level":"info","message":"PATCH /api/tables/column/1","timestamp":"2025-06-01T14:26:36.046Z"} -{"level":"info","message":"PATCH /api/tables/column/1","timestamp":"2025-06-01T14:26:36.055Z"} -{"level":"info","message":"GET /api/tables/5","timestamp":"2025-06-01T14:26:36.080Z"} -{"level":"info","message":"GET /api/tables/5","timestamp":"2025-06-01T14:26:36.101Z"} -{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-01T14:26:42.026Z"} -{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-01T14:26:42.029Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:26:45.558Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:26:45.714Z"} -{"level":"info","message":"No new messages found","timestamp":"2025-06-01T14:26:45.782Z"} +{"level":"info","message":"No new messages found","timestamp":"2025-06-04T11:34:44.041Z"} +{"level":"info","message":"No new messages found","timestamp":"2025-06-04T11:35:16.368Z"} +{"level":"info","message":"No new messages found","timestamp":"2025-06-04T11:35:50.726Z"} +{"level":"info","message":"No new messages found","timestamp":"2025-06-04T11:36:23.066Z"} +{"level":"info","message":"POST /api/chat/guest-message","timestamp":"2025-06-04T11:36:26.991Z"} +{"level":"info","message":"Received /guest-message request","timestamp":"2025-06-04T11:36:26.992Z"} +{"file":null,"guestId":"1749036910052-j7dxek19b","level":"info","message":"Saving guest message: куда писать?","mimetype":null,"size":null,"timestamp":"2025-06-04T11:36:26.992Z"} +{"level":"info","message":"Guest message saved with ID:","timestamp":"2025-06-04T11:36:26.999Z"} +{"level":"info","message":"Session saved after guest message","timestamp":"2025-06-04T11:36:27.001Z"} +{"level":"info","message":"GET /api/auth/nonce?address=0xF45aa4917b3775bA37f48Aeb3dc1a943561e9e0B","timestamp":"2025-06-04T11:36:40.456Z"} +{"level":"info","message":"Nonce b3862bc1b73dc5d56e2972966e2c3689 сохранен для адреса 0xF45aa4917b3775bA37f48Aeb3dc1a943561e9e0B","timestamp":"2025-06-04T11:36:40.464Z"} +{"level":"info","message":"POST /api/auth/verify","timestamp":"2025-06-04T11:36:42.505Z"} +{"level":"info","message":"[verify] Verifying signature for address: 0xF45aa4917b3775bA37f48Aeb3dc1a943561e9e0B","timestamp":"2025-06-04T11:36:42.506Z"} +{"level":"info","message":"Checking admin role for address: 0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-04T11:36:42.569Z"} +{"address":"0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","balance":"454852.0","contract":"0x351f59de4fedbdf7601f5592b93db3b9330c1c1d","hasTokens":true,"level":"info","message":"Token balance on polygon:","minBalance":"10.000000000000000000","timestamp":"2025-06-04T11:36:43.139Z"} +{"level":"info","message":"Found admin tokens on polygon","timestamp":"2025-06-04T11:36:43.139Z"} +{"address":"0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","balance":"1500000.0","contract":"0xd95a45fc46a7300e6022885afec3d618d7d3f27c","hasTokens":true,"level":"info","message":"Token balance on ethereum:","minBalance":"10.000000000000000000","timestamp":"2025-06-04T11:36:43.445Z"} +{"level":"info","message":"Found admin tokens on ethereum","timestamp":"2025-06-04T11:36:43.445Z"} +{"address":"0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","balance":"499999.9","contract":"0xdCe769b847a0a697239777D0B1C7dd33b6012ba0","hasTokens":true,"level":"info","message":"Token balance on arbitrum:","minBalance":"100.000000000000000000","timestamp":"2025-06-04T11:36:43.448Z"} +{"level":"info","message":"Found admin tokens on arbitrum","timestamp":"2025-06-04T11:36:43.448Z"} +{"address":"0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","balance":"500000.0","contract":"0x4b294265720b09ca39bfba18c7e368413c0f68eb","hasTokens":true,"level":"info","message":"Token balance on bsc:","minBalance":"10.000000000000000000","timestamp":"2025-06-04T11:36:43.471Z"} +{"level":"info","message":"Found admin tokens on bsc","timestamp":"2025-06-04T11:36:43.471Z"} +{"address":"0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","balance":"110.0","contract":"0xef49261169B454f191678D2aFC5E91Ad2e85dfD8","hasTokens":true,"level":"info","message":"Token balance on sepolia:","minBalance":"50.000000000000000000","timestamp":"2025-06-04T11:36:43.633Z"} +{"level":"info","message":"Found admin tokens on sepolia","timestamp":"2025-06-04T11:36:43.633Z"} +{"balances":{"arbitrum":"499999.9","bsc":"500000.0","ethereum":"1500000.0","polygon":"454852.0","sepolia":"110.0"},"level":"info","message":"Admin role summary for 0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b:","networks":["polygon","ethereum","arbitrum","bsc","sepolia"],"timestamp":"2025-06-04T11:36:43.634Z"} +{"level":"info","message":"Admin role granted for 0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-04T11:36:43.634Z"} +{"level":"info","message":"[verify] Found or created user 1 for wallet 0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-04T11:36:43.634Z"} +{"level":"info","message":"[IdentityService] Converting guest identity for user 1 to guest_user_mapping: 1749036910052-j7dxek19b","timestamp":"2025-06-04T11:36:43.635Z"} +{"level":"info","message":"Checking admin tokens for address: 0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-04T11:36:43.642Z"} +{"level":"info","message":"Checking admin role for address: 0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-04T11:36:43.642Z"} +{"address":"0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","balance":"454852.0","contract":"0x351f59de4fedbdf7601f5592b93db3b9330c1c1d","hasTokens":true,"level":"info","message":"Token balance on polygon:","minBalance":"10.000000000000000000","timestamp":"2025-06-04T11:36:43.867Z"} +{"level":"info","message":"Found admin tokens on polygon","timestamp":"2025-06-04T11:36:43.868Z"} +{"address":"0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","balance":"110.0","contract":"0xef49261169B454f191678D2aFC5E91Ad2e85dfD8","hasTokens":true,"level":"info","message":"Token balance on sepolia:","minBalance":"50.000000000000000000","timestamp":"2025-06-04T11:36:43.988Z"} +{"level":"info","message":"Found admin tokens on sepolia","timestamp":"2025-06-04T11:36:43.988Z"} +{"address":"0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","balance":"1500000.0","contract":"0xd95a45fc46a7300e6022885afec3d618d7d3f27c","hasTokens":true,"level":"info","message":"Token balance on ethereum:","minBalance":"10.000000000000000000","timestamp":"2025-06-04T11:36:44.023Z"} +{"level":"info","message":"Found admin tokens on ethereum","timestamp":"2025-06-04T11:36:44.024Z"} +{"address":"0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","balance":"500000.0","contract":"0x4b294265720b09ca39bfba18c7e368413c0f68eb","hasTokens":true,"level":"info","message":"Token balance on bsc:","minBalance":"10.000000000000000000","timestamp":"2025-06-04T11:36:44.091Z"} +{"level":"info","message":"Found admin tokens on bsc","timestamp":"2025-06-04T11:36:44.091Z"} +{"address":"0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","balance":"499999.9","contract":"0xdCe769b847a0a697239777D0B1C7dd33b6012ba0","hasTokens":true,"level":"info","message":"Token balance on arbitrum:","minBalance":"100.000000000000000000","timestamp":"2025-06-04T11:36:44.150Z"} +{"level":"info","message":"Found admin tokens on arbitrum","timestamp":"2025-06-04T11:36:44.150Z"} +{"balances":{"arbitrum":"499999.9","bsc":"500000.0","ethereum":"1500000.0","polygon":"454852.0","sepolia":"110.0"},"level":"info","message":"Admin role summary for 0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b:","networks":["polygon","sepolia","ethereum","bsc","arbitrum"],"timestamp":"2025-06-04T11:36:44.150Z"} +{"level":"info","message":"Admin role granted for 0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-04T11:36:44.150Z"} +{"level":"info","message":"Updated user 1 role to admin based on token holdings","timestamp":"2025-06-04T11:36:44.156Z"} +{"address":"0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","authType":"wallet","authenticated":true,"cookie":{"expires":"2025-07-04T11:24:55.203Z","httpOnly":true,"originalMaxAge":2592000000,"path":"/","sameSite":"lax","secure":false},"guestId":"1749036910052-j7dxek19b","isAdmin":true,"level":"info","message":"[SessionService] Saving session data:","timestamp":"2025-06-04T11:36:44.158Z","userId":1} +{"level":"info","message":"Session saved successfully","timestamp":"2025-06-04T11:36:44.160Z"} +{"level":"info","message":"[linkGuestMessages] Starting for user 1 with guestId=1749036910052-j7dxek19b, previousGuestId=undefined","timestamp":"2025-06-04T11:36:44.161Z"} +{"level":"info","message":"[processGuestMessagesWrapper] Processing messages: userId=1, guestId=1749036910052-j7dxek19b","timestamp":"2025-06-04T11:36:44.166Z"} +{"level":"info","message":"Processing guest messages for user 1 with guest ID 1749036910052-j7dxek19b","timestamp":"2025-06-04T11:36:44.166Z"} +{"level":"info","message":"Found 1 guest messages for guest ID 1749036910052-j7dxek19b","timestamp":"2025-06-04T11:36:44.171Z"} +{"level":"info","message":"Processing guest message ID 8: куда писать?","timestamp":"2025-06-04T11:36:44.176Z"} +{"level":"info","message":"Saved user message with ID 25","timestamp":"2025-06-04T11:36:44.182Z"} +{"level":"info","message":"Getting AI response for guest message:","timestamp":"2025-06-04T11:36:44.189Z"} +{"level":"info","message":"No new messages found","timestamp":"2025-06-04T11:37:00.921Z"} +{"conversationId":1,"level":"info","message":"AI response for guest message received","timestamp":"2025-06-04T11:37:25.915Z"} +{"conversationId":1,"level":"info","message":"AI response for guest message saved","timestamp":"2025-06-04T11:37:25.944Z"} +{"level":"info","message":"Deleted 1 processed guest messages for guest ID 1749036910052-j7dxek19b","timestamp":"2025-06-04T11:37:25.950Z"} +{"level":"info","message":"Marked guest mapping as processed for guest ID 1749036910052-j7dxek19b","timestamp":"2025-06-04T11:37:25.954Z"} +{"level":"info","message":"[processGuestMessagesWrapper] Processing messages: userId=1, guestId=1748976356629-5bgeyaaf1","timestamp":"2025-06-04T11:37:25.956Z"} +{"level":"info","message":"Processing guest messages for user 1 with guest ID 1748976356629-5bgeyaaf1","timestamp":"2025-06-04T11:37:25.956Z"} +{"level":"info","message":"Guest messages for guest ID 1748976356629-5bgeyaaf1 were already processed.","timestamp":"2025-06-04T11:37:25.957Z"} +{"level":"info","message":"[processGuestMessagesWrapper] Processing messages: userId=1, guestId=1748973405272-q3zeztpki","timestamp":"2025-06-04T11:37:25.960Z"} +{"level":"info","message":"Processing guest messages for user 1 with guest ID 1748973405272-q3zeztpki","timestamp":"2025-06-04T11:37:25.961Z"} +{"level":"info","message":"Guest messages for guest ID 1748973405272-q3zeztpki were already processed.","timestamp":"2025-06-04T11:37:25.962Z"} +{"level":"info","message":"[processGuestMessagesWrapper] Processing messages: userId=1, guestId=1748971995627-i4wduj6v0","timestamp":"2025-06-04T11:37:25.966Z"} +{"level":"info","message":"Processing guest messages for user 1 with guest ID 1748971995627-i4wduj6v0","timestamp":"2025-06-04T11:37:25.966Z"} +{"level":"info","message":"Guest messages for guest ID 1748971995627-i4wduj6v0 were already processed.","timestamp":"2025-06-04T11:37:25.968Z"} +{"level":"info","message":"[processGuestMessagesWrapper] Processing messages: userId=1, guestId=1748971772605-2176ii4p8","timestamp":"2025-06-04T11:37:25.971Z"} +{"level":"info","message":"Processing guest messages for user 1 with guest ID 1748971772605-2176ii4p8","timestamp":"2025-06-04T11:37:25.971Z"} +{"level":"info","message":"Guest messages for guest ID 1748971772605-2176ii4p8 were already processed.","timestamp":"2025-06-04T11:37:25.973Z"} +{"address":"0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","authType":"wallet","authenticated":true,"cookie":{"expires":"2025-07-04T11:24:55.203Z","httpOnly":true,"originalMaxAge":2592000000,"path":"/","sameSite":"lax","secure":false},"guestId":"1749036910052-j7dxek19b","isAdmin":true,"level":"info","message":"[SessionService] Saving session data:","processedGuestIds":["1749036910052-j7dxek19b","1748976356629-5bgeyaaf1","1748973405272-q3zeztpki","1748971995627-i4wduj6v0","1748971772605-2176ii4p8"],"timestamp":"2025-06-04T11:37:25.976Z","userId":1} +{"level":"info","message":"Session saved successfully","timestamp":"2025-06-04T11:37:25.980Z"} +{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-04T11:37:25.992Z"} +{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-04T11:37:25.995Z"} +{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-04T11:37:26.019Z"} +{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-04T11:37:26.025Z"} +{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-04T11:37:26.050Z"} +{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-04T11:37:26.055Z"} +{"level":"info","message":"POST /api/chat/process-guest","timestamp":"2025-06-04T11:37:26.079Z"} +{"level":"info","message":"Processing guest messages for user 1 with guest ID 1749036910052-j7dxek19b","timestamp":"2025-06-04T11:37:26.087Z"} +{"level":"info","message":"Guest messages for guest ID 1749036910052-j7dxek19b were already processed.","timestamp":"2025-06-04T11:37:26.093Z"} +{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-04T11:37:26.097Z"} +{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-04T11:37:26.100Z"} +{"level":"info","message":"GET /api/tokens/balances?address=0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-04T11:37:26.113Z"} +{"level":"info","message":"Fetching token balances for address: 0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-04T11:37:26.115Z"} +{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-04T11:37:26.125Z"} +{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-04T11:37:26.128Z"} +{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-04T11:37:26.147Z"} +{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-04T11:37:26.149Z"} +{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-04T11:37:26.169Z"} +{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-04T11:37:26.172Z"} +{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-04T11:37:26.213Z"} +{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-04T11:37:26.217Z"} +{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-04T11:37:26.244Z"} +{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-04T11:37:26.248Z"} +{"level":"info","message":"GET /api/chat/history?count_only=true","timestamp":"2025-06-04T11:37:27.469Z"} +{"level":"info","message":"GET /api/chat/history?offset=0&limit=30","timestamp":"2025-06-04T11:37:27.488Z"} +{"count":26,"level":"info","limit":30,"message":"Returning message history for user 1","offset":0,"timestamp":"2025-06-04T11:37:27.494Z","total":26} +{"level":"info","message":"GET /api/tokens/balances?address=0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-04T11:37:29.225Z"} +{"level":"info","message":"Fetching token balances for address: 0xf45aa4917b3775ba37f48aeb3dc1a943561e9e0b","timestamp":"2025-06-04T11:37:29.226Z"} +{"level":"info","message":"No new messages found","timestamp":"2025-06-04T11:37:29.650Z"} +{"level":"info","message":"GET /api/chat/history?count_only=true","timestamp":"2025-06-04T11:37:31.516Z"} +{"level":"info","message":"GET /api/chat/history?offset=0&limit=30","timestamp":"2025-06-04T11:37:31.535Z"} +{"count":26,"level":"info","limit":30,"message":"Returning message history for user 1","offset":0,"timestamp":"2025-06-04T11:37:31.540Z","total":26} +{"level":"info","message":"POST /api/chat/message","timestamp":"2025-06-04T11:37:55.485Z"} +{"level":"info","message":"Received /message request","timestamp":"2025-06-04T11:37:55.488Z"} +{"conversationId":1,"level":"info","message":"User message saved","messageId":27,"timestamp":"2025-06-04T11:37:55.498Z"} +{"level":"info","message":"AI System Prompt:","timestamp":"2025-06-04T11:37:55.504Z"} +{"level":"info","message":"AI Rules:","timestamp":"2025-06-04T11:37:55.504Z"} +{"level":"info","message":"Getting AI response for:","timestamp":"2025-06-04T11:37:55.507Z"} +{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-04T11:37:56.461Z"} +{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-04T11:37:56.465Z"} +{"level":"info","message":"No new messages found","timestamp":"2025-06-04T11:38:07.580Z"} +{"conversationId":1,"level":"info","message":"AI response received","timestamp":"2025-06-04T11:38:23.375Z"} +{"conversationId":1,"level":"info","message":"AI response saved","messageId":28,"timestamp":"2025-06-04T11:38:23.402Z"} +{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-04T11:38:27.186Z"} +{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-04T11:38:27.189Z"} +{"level":"info","message":"No new messages found","timestamp":"2025-06-04T11:38:40.026Z"} +{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-04T11:38:57.145Z"} +{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-04T11:38:57.148Z"} +{"level":"info","message":"No new messages found","timestamp":"2025-06-04T11:39:10.638Z"} +{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-04T11:39:27.982Z"} +{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-04T11:39:27.986Z"} diff --git a/backend/logs/error.log b/backend/logs/error.log index 28737f5..c9ca3fa 100644 --- a/backend/logs/error.log +++ b/backend/logs/error.log @@ -1,515 +1,12 @@ -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T11:09:35.925Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:09:35.927Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:09:35.927Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T11:09:51.210Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T11:17:27.958Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:17:27.958Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:17:27.959Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:17:27.959Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:17:27.959Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:17:27.960Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:17:27.960Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:17:27.960Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:17:27.961Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:17:27.961Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:17:27.961Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:17:27.961Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:17:27.962Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:17:27.962Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:17:27.962Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:17:27.963Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:17:27.963Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:17:27.964Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:23:00.321Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:23:00.322Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:23:00.322Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:23:00.322Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:23:00.323Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:23:00.323Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:23:00.323Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:23:00.323Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:23:00.324Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:23:00.324Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:23:00.324Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:23:00.324Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T11:24:20.893Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T11:34:53.717Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:34:53.719Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:34:53.719Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:34:53.719Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:34:53.719Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:34:53.720Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T11:39:16.697Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:39:16.698Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T11:39:24.562Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T11:42:24.304Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:42:24.305Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:42:24.305Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:42:24.305Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:42:24.305Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T11:46:56.098Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T11:51:47.393Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:51:47.394Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:51:47.394Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:51:47.394Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:51:47.394Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:51:47.394Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:51:47.394Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T11:52:05.373Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:52:05.374Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T11:53:38.082Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:53:38.082Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:53:38.082Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:53:38.082Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:53:38.082Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:53:38.082Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:54:14.127Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:54:14.128Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:54:51.568Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:54:51.569Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:55:46.954Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:55:46.955Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:55:46.955Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:56:24.274Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T11:56:24.275Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T12:05:47.191Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:05:47.192Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:05:47.192Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:05:47.192Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:05:47.192Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:05:47.192Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:05:47.192Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:05:47.192Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:05:47.192Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T12:07:37.812Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:07:37.812Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:07:37.813Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:07:37.813Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:07:37.813Z"} -{"level":"error","message":"Uncaught Exception: Cannot set properties of undefined (setting 'name')","stack":"TypeError: Cannot set properties of undefined (setting 'name')\n at Connection. (/app/node_modules/imap/lib/Connection.js:431:22)\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)\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)","timestamp":"2025-06-01T12:07:51.222Z"} -{"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-01T12:07:51.310Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T12:07:51.509Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:07:51.510Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:07:51.510Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:09:28.645Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:09:28.646Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:09:28.646Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:09:28.646Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:09:46.751Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:09:46.752Z"} -{"ip":"::ffff:172.18.0.1","level":"error","message":"Error: Требуется аутентификация","method":"GET","stack":"Error: Требуется аутентификация\n at createError (/app/utils/error.js:8:17)\n at requireAdmin (/app/middleware/auth.js:97:19)\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)\n at next (/app/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/app/node_modules/express/lib/router/index.js:175:3)","timestamp":"2025-06-01T12:09:57.262Z","url":"/api/settings/rpc"} -{"ip":"::ffff:172.18.0.1","level":"error","message":"Error: Требуется аутентификация","method":"GET","stack":"Error: Требуется аутентификация\n at createError (/app/utils/error.js:8:17)\n at requireAdmin (/app/middleware/auth.js:97:19)\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 param (/app/node_modules/express/lib/router/index.js:365:14)\n at param (/app/node_modules/express/lib/router/index.js:376:14)\n at Function.process_params (/app/node_modules/express/lib/router/index.js:421:3)","timestamp":"2025-06-01T12:10:24.332Z","url":"/api/settings/ai-settings/google"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:10:37.655Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:10:37.655Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:10:37.655Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:11:33.089Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:11:33.089Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:11:33.090Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T12:13:04.750Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:13:04.751Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:13:04.751Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T12:30:13.610Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:30:13.611Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:30:13.611Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:30:13.611Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T12:32:59.820Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:32:59.821Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:32:59.821Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:32:59.821Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:32:59.821Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:32:59.822Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:32:59.822Z"} -{"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:98: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-01T12:33:08.570Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T12:33:55.215Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:33:55.216Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:33:55.216Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:33:55.217Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:34:08.611Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:34:08.612Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:35:59.510Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:35:59.510Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:35:59.510Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:35:59.510Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:35:59.511Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:35:59.512Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:36:54.929Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:36:54.930Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:36:54.930Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:37:50.416Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:37:50.416Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:37:50.416Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:38:45.807Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:38:45.808Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:38:45.808Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:39:41.119Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:39:41.119Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:39:41.119Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:40:35.667Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:40:35.667Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:40:35.667Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:41:17.106Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:41:30.247Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:41:30.247Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:42:24.659Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:42:24.660Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:42:24.660Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T12:45:19.446Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T12:47:59.820Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T12:55:18.678Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:55:18.679Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:55:18.680Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T12:55:31.780Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:55:31.781Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T12:57:16.610Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T12:57:16.611Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T12:57:27.541Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T13:00:04.844Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:00:04.845Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:00:04.846Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:00:04.846Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T13:01:15.296Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:01:15.297Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:01:15.297Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:01:15.297Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T13:02:23.121Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:02:23.122Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:02:23.122Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:02:23.123Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:02:23.123Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:03:17.628Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:03:17.629Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:03:17.629Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T13:06:51.568Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:06:51.569Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T13:08:02.186Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:08:02.186Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:08:02.187Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:08:02.187Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T13:08:14.872Z"} -{"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:98: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-01T13:08:35.973Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:08:56.585Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:08:56.586Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:08:56.586Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T13:15:33.243Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:15:33.244Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:15:33.245Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:15:33.245Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:15:33.245Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:15:33.245Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:15:33.246Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T13:15:53.531Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:15:53.532Z"} -{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-01T13:16:06.271Z"} -{"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:98: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-01T13:16:23.502Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:17:22.573Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:17:22.574Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:17:22.574Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:17:22.574Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:17:22.574Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:17:42.841Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:18:17.144Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:18:17.145Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:19:11.722Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:19:11.723Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:19:11.723Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:20:06.223Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:20:06.224Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:20:06.224Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:21:00.825Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:21:00.825Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:21:00.825Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:21:21.116Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:22:15.614Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:22:15.615Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:22:15.615Z"} -{"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-01T13:22:45.249Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:23:44.328Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:23:44.328Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:23:44.328Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:23:44.328Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:23:44.328Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:24:04.569Z"} -{"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-01T13:24:34.225Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:25:33.534Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:25:33.534Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:25:33.535Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:25:33.535Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:25:33.535Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:26:28.054Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:26:28.055Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:26:28.055Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:27:23.322Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:27:23.323Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:27:23.323Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:27:43.035Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:28:37.605Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:28:37.605Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:28:37.605Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:30:06.234Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:30:06.235Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:30:06.235Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:30:06.235Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:30:06.236Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:31:00.791Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:31:00.792Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:31:00.792Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:31:55.225Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:31:55.225Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:31:55.226Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:33:44.284Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:33:44.285Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:33:44.285Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:33:44.285Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:33:44.285Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:33:44.286Z"} -{"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-01T13:34:34.438Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:35:33.575Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:35:33.575Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:35:33.575Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:35:33.575Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:35:33.576Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:35:33.576Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:37:22.712Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:37:22.713Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:37:22.713Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:37:22.713Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:37:22.713Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:37:22.713Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:38:17.269Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:38:17.269Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:38:17.270Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:38:37.670Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:39:11.851Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:39:11.852Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:40:06.385Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:40:06.386Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:40:06.386Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:41:00.818Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:41:00.819Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:41:00.819Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:41:55.333Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:41:55.334Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:41:55.335Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:42:50.061Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:42:50.062Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:42:50.062Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:43:44.501Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:43:44.501Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:43:44.502Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:44:39.448Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:44:39.449Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:44:39.449Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T13:44:43.990Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:44:57.552Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:45:34.003Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:45:34.004Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T13:45:35.365Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T13:45:38.523Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:45:57.304Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T13:46:23.401Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T13:46:23.402Z"} -{"level":"error","message":"Uncaught Exception: Timed out while authenticating with server","source":"timeout-auth","stack":"Error: Timed out while authenticating with server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:139:17)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T13:46:29.033Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T13:46:29.876Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:46:48.814Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:47:22.968Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:47:22.969Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T13:47:24.629Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T13:47:27.484Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:47:43.555Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:48:17.540Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:48:17.541Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T13:48:18.776Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:49:12.034Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:49:12.035Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:49:12.036Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:50:06.545Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:50:06.546Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:50:06.546Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T13:50:11.115Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:51:01.000Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:51:01.001Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:51:01.001Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T13:51:02.524Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:51:21.495Z"} -{"ip":"::ffff:172.18.0.1","level":"error","message":"Error: null value in column \"row_id\" of relation \"user_cell_values\" violates not-null constraint","method":"POST","stack":"error: null value in column \"row_id\" of relation \"user_cell_values\" violates not-null constraint\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 /app/routes/tables.js:98:20","timestamp":"2025-06-01T13:51:50.270Z","url":"/api/tables/cell","userId":1} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T13:52:45.247Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T13:52:45.248Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T13:52:45.249Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T13:52:45.249Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T13:52:45.250Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T13:52:54.606Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:53:44.904Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:53:44.905Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:53:44.905Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T13:53:45.796Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:54:05.329Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T13:54:34.464Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T13:54:34.465Z"} -{"level":"error","message":"Uncaught Exception: Timed out while authenticating with server","source":"timeout-auth","stack":"Error: Timed out while authenticating with server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:139:17)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T13:54:39.847Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:55:33.932Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:55:33.933Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:55:33.933Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T13:55:35.269Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:56:28.573Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:56:28.574Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:56:28.574Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T13:56:33.108Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:56:49.071Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T13:57:18.235Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T13:57:18.235Z"} -{"level":"error","message":"Uncaught Exception: Timed out while authenticating with server","source":"timeout-auth","stack":"Error: Timed out while authenticating with server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:139:17)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T13:57:22.920Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T13:57:24.248Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:57:43.441Z"} -{"level":"error","message":"IMAP connection error during check: This socket has been ended by the other party","timestamp":"2025-06-01T13:58:18.318Z"} -{"level":"error","message":"IMAP connection error during check: This socket has been ended by the other party","timestamp":"2025-06-01T13:58:18.318Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T13:59:07.369Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T13:59:07.370Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T13:59:07.370Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T13:59:16.600Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T13:59:32.648Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:00:06.570Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:00:06.570Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:00:07.403Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:00:11.062Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:01:01.053Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:01:01.054Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:01:01.054Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:01:02.304Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:01:55.533Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:01:55.534Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:01:55.534Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:02:16.043Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T14:02:45.737Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T14:02:45.738Z"} -{"level":"error","message":"Uncaught Exception: Timed out while authenticating with server","source":"timeout-auth","stack":"Error: Timed out while authenticating with server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:139:17)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:02:54.330Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:02:54.962Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:03:44.962Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:03:44.963Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:03:44.963Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:03:49.493Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:03:49.772Z"} -{"ip":"::ffff:172.18.0.1","level":"error","message":"Error: column \"updated_at\" of relation \"user_columns\" does not exist","method":"PATCH","stack":"error: column \"updated_at\" of relation \"user_columns\" 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 /app/routes/tables.js:168:20","timestamp":"2025-06-01T14:04:32.473Z","url":"/api/tables/column/4","userId":1} -{"ip":"::ffff:172.18.0.1","level":"error","message":"Error: column \"updated_at\" of relation \"user_columns\" does not exist","method":"PATCH","stack":"error: column \"updated_at\" of relation \"user_columns\" 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 /app/routes/tables.js:168:20","timestamp":"2025-06-01T14:04:32.566Z","url":"/api/tables/column/4","userId":1} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T14:04:34.517Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T14:04:34.518Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T14:04:34.519Z"} -{"level":"error","message":"Uncaught Exception: Timed out while authenticating with server","source":"timeout-auth","stack":"Error: Timed out while authenticating with server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:139:17)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:04:40.137Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:04:40.873Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:05:34.012Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:05:34.013Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:05:34.013Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:05:35.550Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:05:54.263Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T14:06:23.536Z"} -{"level":"error","message":"IMAP connection error during check: write after end","timestamp":"2025-06-01T14:06:23.537Z"} -{"level":"error","message":"Uncaught Exception: Timed out while authenticating with server","source":"timeout-auth","stack":"Error: Timed out while authenticating with server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:139:17)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:06:29.153Z"} -{"ip":"::ffff:172.18.0.1","level":"error","message":"Error: column \"updated_at\" of relation \"user_columns\" does not exist","method":"PATCH","stack":"error: column \"updated_at\" of relation \"user_columns\" 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 /app/routes/tables.js:168:20","timestamp":"2025-06-01T14:06:34.510Z","url":"/api/tables/column/4","userId":1} -{"ip":"::ffff:172.18.0.1","level":"error","message":"Error: column \"updated_at\" of relation \"user_columns\" does not exist","method":"PATCH","stack":"error: column \"updated_at\" of relation \"user_columns\" 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 /app/routes/tables.js:168:20","timestamp":"2025-06-01T14:06:34.533Z","url":"/api/tables/column/4","userId":1} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:07:22.950Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:07:22.950Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:07:22.951Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:07:24.722Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:08:17.572Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:08:17.572Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:08:17.572Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:08:22.108Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:08:38.006Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:09:12.007Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:09:12.007Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:09:13.141Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:09:16.601Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:10:06.492Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:10:06.493Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:10:06.493Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:10:07.723Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:10:11.079Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:10:26.925Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:11:00.881Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:11:00.882Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:11:02.214Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:11:56.561Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:11:56.563Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:11:56.564Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:12:00.478Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:12:50.560Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:12:50.560Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:12:50.561Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:12:55.023Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:12:55.680Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:13:10.680Z"} -{"ip":"::ffff:172.18.0.1","level":"error","message":"Error: column \"updated_at\" of relation \"user_columns\" does not exist","method":"PATCH","stack":"error: column \"updated_at\" of relation \"user_columns\" 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 /app/routes/tables.js:168:20","timestamp":"2025-06-01T14:13:38.721Z","url":"/api/tables/column/4","userId":1} -{"ip":"::ffff:172.18.0.1","level":"error","message":"Error: column \"updated_at\" of relation \"user_columns\" does not exist","method":"PATCH","stack":"error: column \"updated_at\" of relation \"user_columns\" 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 /app/routes/tables.js:168:20","timestamp":"2025-06-01T14:13:38.765Z","url":"/api/tables/column/4","userId":1} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:13:45.094Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:13:45.095Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:13:46.280Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:13:49.544Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:14:39.614Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:14:39.615Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:14:39.615Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:14:44.117Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:15:34.134Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:15:34.135Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:15:34.135Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:15:38.607Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:16:29.150Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:16:29.150Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:16:29.151Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:16:30.684Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:16:49.883Z"} -{"ip":"::ffff:172.18.0.1","level":"error","message":"Error: relation \"user_columns\" does not exist","method":"GET","stack":"error: relation \"user_columns\" 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 /app/routes/tables.js:41:22","timestamp":"2025-06-01T14:16:51.620Z","url":"/api/tables/5","userId":1} -{"ip":"::ffff:172.18.0.1","level":"error","message":"Error: relation \"user_columns\" does not exist","method":"GET","stack":"error: relation \"user_columns\" 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 /app/routes/tables.js:41:22","timestamp":"2025-06-01T14:16:58.294Z","url":"/api/tables/6","userId":1} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:17:23.182Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:17:23.183Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:17:27.611Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:18:17.543Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:18:17.544Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:18:17.544Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:18:18.767Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:18:22.099Z"} -{"ip":"::ffff:172.18.0.1","level":"error","message":"Error: relation \"user_columns\" does not exist","method":"GET","stack":"error: relation \"user_columns\" 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 /app/routes/tables.js:41:22","timestamp":"2025-06-01T14:18:32.090Z","url":"/api/tables/5","userId":1} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:19:12.901Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:19:12.902Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:19:12.902Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:19:16.584Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:19:32.492Z"} -{"ip":"::ffff:172.18.0.1","level":"error","message":"Error: relation \"user_columns\" does not exist","method":"GET","stack":"error: relation \"user_columns\" 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 /app/routes/tables.js:41:22","timestamp":"2025-06-01T14:20:00.513Z","url":"/api/tables/6","userId":1} -{"ip":"::ffff:172.18.0.1","level":"error","message":"Error: relation \"user_columns\" does not exist","method":"GET","stack":"error: relation \"user_columns\" 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 /app/routes/tables.js:41:22","timestamp":"2025-06-01T14:20:04.400Z","url":"/api/tables/5","userId":1} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:20:06.485Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:20:06.486Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:20:11.102Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:20:11.804Z"} -{"ip":"::ffff:172.18.0.1","level":"error","message":"Error: relation \"user_columns\" does not exist","method":"GET","stack":"error: relation \"user_columns\" 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 /app/routes/tables.js:41:22","timestamp":"2025-06-01T14:20:15.672Z","url":"/api/tables/5","userId":1} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:20:27.055Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:21:01.439Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:21:01.440Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:21:02.675Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:21:05.997Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:21:55.972Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:21:55.973Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:21:55.973Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:22:00.452Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:22:50.614Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:22:50.615Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:22:50.615Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:22:51.727Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:22:55.083Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:23:45.075Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:23:45.076Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:23:45.076Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:23:46.369Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:23:49.616Z"} -{"code":"42P01","file":"namespace.c","length":110,"level":"error","line":"434","message":"Error executing migration 028_create_dynamic_tables.sql: relation \"user_columns\" does not exist","name":"error","routine":"RangeVarGetRelidExtended","severity":"ERROR","stack":"error: relation \"user_columns\" 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 runMigrations (/app/scripts/run-migrations.js:77:11)","timestamp":"2025-06-01T14:24:37.212Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:24:39.543Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:24:39.544Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:24:39.545Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:24:40.703Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:24:44.101Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:25:34.214Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:25:34.214Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:25:34.214Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:25:38.580Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:26:28.660Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:26:28.660Z"} -{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-01T14:26:28.661Z"} -{"code":"EPIPE","level":"error","message":"Uncaught Exception: This socket has been ended by the other party","source":"socket","stack":"Error: This socket has been ended by the other party\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at Socket.writeAfterFIN [as write] (node:net:566:14)\n at JSStreamSocket.doWrite (node:internal/js_stream_socket:199:19)\n at JSStream.onwrite (node:internal/js_stream_socket:35:57)\n at Socket._final (node:net:537:28)\n at prefinish (node:internal/streams/writable:916:14)\n at finishMaybe (node:internal/streams/writable:930:5)\n at Writable.end (node:internal/streams/writable:845:5)\n at Socket.end (node:net:728:31)","timestamp":"2025-06-01T14:26:29.827Z"} -{"level":"error","message":"Uncaught Exception: Timed out while connecting to server","source":"timeout","stack":"Error: Timed out while connecting to server\n at Timeout._onTimeout (/app/node_modules/imap/lib/Connection.js:280:15)\n at listOnTimeout (node:internal/timers:581:17)\n at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-06-01T14:26:33.094Z"} +{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-04T11:33:45.268Z"} +{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-04T11:33:45.269Z"} +{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-04T11:33:45.269Z"} +{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-04T11:33:45.269Z"} +{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-04T11:33:45.270Z"} +{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-04T11:33:45.270Z"} +{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-04T11:33:45.270Z"} +{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-04T11:33:45.270Z"} +{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-04T11:33:45.270Z"} +{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-04T11:33:45.271Z"} +{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-04T11:33:45.271Z"} +{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-04T11:33:45.271Z"} diff --git a/backend/routes/chat.js b/backend/routes/chat.js index b854168..2a9b1ac 100644 --- a/backend/routes/chat.js +++ b/backend/routes/chat.js @@ -6,6 +6,8 @@ const db = require('../db'); const logger = require('../utils/logger'); const { requireAuth } = require('../middleware/auth'); const crypto = require('crypto'); +const aiAssistantSettingsService = require('../services/aiAssistantSettingsService'); +const aiAssistantRulesService = require('../services/aiAssistantRulesService'); // Настройка multer для обработки файлов в памяти const storage = multer.memoryStorage(); @@ -61,19 +63,28 @@ async function processGuestMessages(userId, guestId) { const guestMessages = guestMessagesResult.rows; logger.info(`Found ${guestMessages.length} guest messages for guest ID ${guestId}`); - // Создаем новый диалог для этих сообщений - const firstMessage = guestMessages[0]; - const title = firstMessage.content - ? (firstMessage.content.length > 30 ? `${firstMessage.content.substring(0, 30)}...` : firstMessage.content) - : (firstMessage.attachment_filename ? `Файл: ${firstMessage.attachment_filename}` : 'Новый диалог'); - - const newConversationResult = await db.getQuery()( - 'INSERT INTO conversations (user_id, title) VALUES ($1, $2) RETURNING *', - [userId, title] + // --- Новый порядок: ищем последний диалог пользователя --- + let conversation = null; + const lastConvResult = await db.getQuery()( + 'SELECT * FROM conversations WHERE user_id = $1 ORDER BY updated_at DESC, created_at DESC LIMIT 1', + [userId] ); - - const conversation = newConversationResult.rows[0]; - logger.info(`Created new conversation ${conversation.id} for guest messages`); + if (lastConvResult.rows.length > 0) { + conversation = lastConvResult.rows[0]; + } else { + // Если нет ни одного диалога, создаём новый + const firstMessage = guestMessages[0]; + const title = firstMessage.content + ? (firstMessage.content.length > 30 ? `${firstMessage.content.substring(0, 30)}...` : firstMessage.content) + : (firstMessage.attachment_filename ? `Файл: ${firstMessage.attachment_filename}` : 'Новый диалог'); + const newConversationResult = await db.getQuery()( + 'INSERT INTO conversations (user_id, title) VALUES ($1, $2) RETURNING *', + [userId, title] + ); + conversation = newConversationResult.rows[0]; + logger.info(`Created new conversation ${conversation.id} for guest messages`); + } + // --- КОНЕЦ блока поиска/создания диалога --- // Отслеживаем успешные сохранения сообщений const savedMessageIds = []; @@ -81,7 +92,6 @@ async function processGuestMessages(userId, guestId) { // Обрабатываем каждое гостевое сообщение for (const guestMessage of guestMessages) { logger.info(`Processing guest message ID ${guestMessage.id}: ${guestMessage.content || guestMessage.attachment_filename || '(empty)'}`); - try { // Сохраняем сообщение пользователя в таблицу messages, включая данные файла const userMessageResult = await db.getQuery()( @@ -103,39 +113,59 @@ async function processGuestMessages(userId, guestId) { guestMessage.attachment_data // BYTEA ] ); - const savedUserMessage = userMessageResult.rows[0]; logger.info(`Saved user message with ID ${savedUserMessage.id}`); savedMessageIds.push(guestMessage.id); - - // Получаем ответ от ИИ только для текстовых сообщений - if (!guestMessage.is_ai && guestMessage.content) { - logger.info('Getting AI response for:', guestMessage.content); - const language = guestMessage.language || 'auto'; - // Предполагаем, что aiAssistant.getResponse принимает только текст - const aiResponseContent = await aiAssistant.getResponse(guestMessage.content, language); - logger.info('AI response received' + (aiResponseContent ? '' : ' (empty)'), 'for conversation', conversation.id); - - if (aiResponseContent) { - // Сохраняем ответ от ИИ (у него нет вложений) - const aiMessageResult = await db.getQuery()( - `INSERT INTO messages - (conversation_id, content, sender_type, role, channel, created_at, user_id) - VALUES - ($1, $2, 'assistant', 'assistant', 'web', $3, $4) - RETURNING *`, - [ - conversation.id, - aiResponseContent, - new Date(), - userId - ] + // --- Генерируем ответ ИИ на гостевое сообщение, если это текст --- + if (guestMessage.content) { + // Проверяем, что на это сообщение ещё нет ответа ассистента + const aiReplyExists = await db.getQuery()( + `SELECT 1 FROM messages WHERE conversation_id = $1 AND sender_type = 'assistant' AND created_at > $2 LIMIT 1`, + [conversation.id, guestMessage.created_at] + ); + if (!aiReplyExists.rows.length) { + try { + // Получаем настройки ассистента + const aiSettings = await aiAssistantSettingsService.getSettings(); + let rules = null; + if (aiSettings && aiSettings.rules_id) { + rules = await aiAssistantRulesService.getRuleById(aiSettings.rules_id); + } + // Получаем историю сообщений до этого guestMessage (до created_at) + const historyResult = await db.getQuery()( + 'SELECT sender_type, content FROM messages WHERE conversation_id = $1 AND created_at < $2 ORDER BY created_at DESC LIMIT 10', + [conversation.id, guestMessage.created_at] ); - logger.info(`Saved AI response with ID ${aiMessageResult.rows[0].id}`); + const history = historyResult.rows.reverse().map(msg => ({ + role: msg.sender_type === 'user' ? 'user' : 'assistant', + content: msg.content + })); + // Язык guestMessage.language или auto + const detectedLanguage = guestMessage.language === 'auto' ? aiAssistant.detectLanguage(guestMessage.content) : guestMessage.language; + logger.info('Getting AI response for guest message:', guestMessage.content); + const aiResponseContent = await aiAssistant.getResponse( + guestMessage.content, + detectedLanguage, + history, + aiSettings ? aiSettings.system_prompt : '', + rules ? rules.rules : null + ); + logger.info('AI response for guest message received' + (aiResponseContent ? '' : ' (empty)'), { conversationId: conversation.id }); + if (aiResponseContent) { + await db.getQuery()( + `INSERT INTO messages + (conversation_id, user_id, content, sender_type, role, channel) + VALUES ($1, $2, $3, 'assistant', 'assistant', 'web')`, + [conversation.id, userId, aiResponseContent] + ); + logger.info('AI response for guest message saved', { conversationId: conversation.id }); + } + } catch (aiError) { + logger.error('Error getting or saving AI response for guest message:', aiError); + } } - } else { - logger.info(`Skipping AI response for guest message ID ${guestMessage.id} (is_ai: ${guestMessage.is_ai}, hasContent: ${!!guestMessage.content})`); } + // --- конец блока генерации ответа ИИ --- } catch (error) { logger.error(`Error processing guest message ${guestMessage.id}: ${error.message}`, { stack: error.stack }); // Продолжаем с другими сообщениями в случае ошибки @@ -254,10 +284,28 @@ router.post('/guest-message', upload.array('attachments'), async (req, res) => { // Не прерываем ответ пользователю из-за ошибки сессии } + // Получаем настройки ассистента для systemMessage + let telegramBotUrl = null; + let supportEmailAddr = null; + try { + const aiSettings = await aiAssistantSettingsService.getSettings(); + if (aiSettings && aiSettings.telegramBot && aiSettings.telegramBot.bot_username) { + telegramBotUrl = `https://t.me/${aiSettings.telegramBot.bot_username}`; + } + if (aiSettings && aiSettings.supportEmail && aiSettings.supportEmail.from_email) { + supportEmailAddr = aiSettings.supportEmail.from_email; + } + } catch (e) { + logger.error('Ошибка получения настроек ассистента для systemMessage:', e); + } + res.json({ success: true, messageId: savedMessageId, // Возвращаем ID сохраненного сообщения - guestId: guestId // Возвращаем использованный guestId + guestId: guestId, // Возвращаем использованный guestId + systemMessage: 'Для продолжения диалога авторизуйтесь: подключите кошелек, перейдите в чат-бот Telegram или отправьте письмо на email.', + telegramBotUrl, + supportEmail: supportEmailAddr }); } catch (error) { logger.error('Error saving guest message:', error); @@ -303,18 +351,27 @@ router.post('/message', requireAuth, upload.array('attachments'), async (req, re } conversation = convResult.rows[0]; } else { - // Создаем новый диалог, если ID не предоставлен - const title = message - ? (message.length > 50 ? `${message.substring(0, 50)}...` : message) - : (file ? `Файл: ${file.originalname}` : 'Новый диалог'); - - const newConvResult = await db.getQuery()( - 'INSERT INTO conversations (user_id, title) VALUES ($1, $2) RETURNING *', - [userId, title] + // Ищем последний диалог пользователя + const lastConvResult = await db.getQuery()( + 'SELECT * FROM conversations WHERE user_id = $1 ORDER BY updated_at DESC, created_at DESC LIMIT 1', + [userId] ); - conversation = newConvResult.rows[0]; - conversationId = conversation.id; - logger.info('Created new conversation', { conversationId, userId }); + if (lastConvResult.rows.length > 0) { + conversation = lastConvResult.rows[0]; + conversationId = conversation.id; + } else { + // Создаем новый диалог, если нет ни одного + const title = message + ? (message.length > 50 ? `${message.substring(0, 50)}...` : message) + : (file ? `Файл: ${file.originalname}` : 'Новый диалог'); + const newConvResult = await db.getQuery()( + 'INSERT INTO conversations (user_id, title) VALUES ($1, $2) RETURNING *', + [userId, title] + ); + conversation = newConvResult.rows[0]; + conversationId = conversation.id; + logger.info('Created new conversation', { conversationId, userId }); + } } // Подготавливаем данные для вставки сообщения пользователя @@ -348,9 +405,32 @@ router.post('/message', requireAuth, upload.array('attachments'), async (req, re let aiMessage = null; if (messageContent) { // Только для текстовых сообщений try { + // Получаем настройки ассистента + const aiSettings = await aiAssistantSettingsService.getSettings(); + let rules = null; + if (aiSettings && aiSettings.rules_id) { + rules = await aiAssistantRulesService.getRuleById(aiSettings.rules_id); + } + logger.info('AI System Prompt:', aiSettings ? aiSettings.system_prompt : 'not set'); + logger.info('AI Rules:', rules ? JSON.stringify(rules.rules) : 'not set'); + // Получаем последние 10 сообщений из диалога для истории (до текущего сообщения) + const historyResult = await db.getQuery()( + 'SELECT sender_type, content FROM messages WHERE conversation_id = $1 AND id < $2 ORDER BY created_at DESC LIMIT 10', + [conversationId, userMessage.id] + ); + const history = historyResult.rows.reverse().map(msg => ({ + role: msg.sender_type === 'user' ? 'user' : 'assistant', + content: msg.content + })); const detectedLanguage = language === 'auto' ? aiAssistant.detectLanguage(messageContent) : language; logger.info('Getting AI response for:', messageContent); - const aiResponseContent = await aiAssistant.getResponse(messageContent, detectedLanguage); + const aiResponseContent = await aiAssistant.getResponse( + messageContent, + detectedLanguage, + history, + aiSettings ? aiSettings.system_prompt : '', + rules ? rules.rules : null + ); logger.info('AI response received' + (aiResponseContent ? '' : ' (empty)'), { conversationId }); if (aiResponseContent) { @@ -396,6 +476,12 @@ router.post('/message', requireAuth, upload.array('attachments'), async (req, re return formatted; }; + // Обновляем updated_at у диалога + await db.getQuery()( + 'UPDATE conversations SET updated_at = NOW() WHERE id = $1', + [conversationId] + ); + res.json({ success: true, conversationId: conversationId, @@ -541,6 +627,26 @@ router.get('/history', requireAuth, async (req, res) => { } }); +// --- Новый роут для связывания гостя после аутентификации --- +router.post('/process-guest', requireAuth, async (req, res) => { + const userId = req.session.userId; + const { guestId } = req.body; + if (!guestId) { + return res.status(400).json({ success: false, error: 'guestId is required' }); + } + try { + const result = await module.exports.processGuestMessages(userId, guestId); + if (result && result.conversationId) { + return res.json({ success: true, conversationId: result.conversationId }); + } else { + return res.json({ success: false, error: result.error || 'No conversation created' }); + } + } catch (error) { + logger.error('Error in /process-guest:', error); + return res.status(500).json({ success: false, error: 'Internal error' }); + } +}); + // Экспортируем маршрутизатор и функцию processGuestMessages отдельно module.exports = router; module.exports.processGuestMessages = processGuestMessages; diff --git a/backend/routes/settings.js b/backend/routes/settings.js index 8ca07a6..b9d4ce3 100644 --- a/backend/routes/settings.js +++ b/backend/routes/settings.js @@ -8,6 +8,8 @@ const authTokenService = require('../services/authTokenService'); const aiProviderSettingsService = require('../services/aiProviderSettingsService'); const aiAssistant = require('../services/ai-assistant'); const dns = require('node:dns').promises; +const aiAssistantSettingsService = require('../services/aiAssistantSettingsService'); +const aiAssistantRulesService = require('../services/aiAssistantRulesService'); // Логируем версию ethers для отладки logger.info(`Ethers version: ${ethers.version || 'unknown'}`); @@ -239,4 +241,92 @@ router.post('/ai-settings/:provider/verify', requireAdmin, async (req, res, next } }); +router.get('/ai-assistant', requireAdmin, async (req, res, next) => { + try { + const settings = await aiAssistantSettingsService.getSettings(); + res.json({ success: true, settings }); + } catch (error) { + next(error); + } +}); + +router.put('/ai-assistant', requireAdmin, async (req, res, next) => { + try { + const updated = await aiAssistantSettingsService.upsertSettings({ ...req.body, updated_by: req.session.userId || null }); + res.json({ success: true, settings: updated }); + } catch (error) { + next(error); + } +}); + +// Получить все наборы правил +router.get('/ai-assistant-rules', requireAdmin, async (req, res, next) => { + try { + const rules = await aiAssistantRulesService.getAllRules(); + res.json({ success: true, rules }); + } catch (error) { + next(error); + } +}); + +// Получить набор правил по id +router.get('/ai-assistant-rules/:id', requireAdmin, async (req, res, next) => { + try { + const rule = await aiAssistantRulesService.getRuleById(req.params.id); + res.json({ success: true, rule }); + } catch (error) { + next(error); + } +}); + +// Создать набор правил +router.post('/ai-assistant-rules', requireAdmin, async (req, res, next) => { + try { + const created = await aiAssistantRulesService.createRule(req.body); + res.json({ success: true, rule: created }); + } catch (error) { + next(error); + } +}); + +// Обновить набор правил +router.put('/ai-assistant-rules/:id', requireAdmin, async (req, res, next) => { + try { + const updated = await aiAssistantRulesService.updateRule(req.params.id, req.body); + res.json({ success: true, rule: updated }); + } catch (error) { + next(error); + } +}); + +// Удалить набор правил +router.delete('/ai-assistant-rules/:id', requireAdmin, async (req, res, next) => { + try { + await aiAssistantRulesService.deleteRule(req.params.id); + res.json({ success: true }); + } catch (error) { + next(error); + } +}); + +// Получить все email_settings для выпадающего списка +router.get('/email-settings', requireAdmin, async (req, res, next) => { + try { + const { rows } = await require('../db').getQuery()('SELECT id, from_email FROM email_settings ORDER BY id'); + res.json({ success: true, items: rows }); + } catch (error) { + next(error); + } +}); + +// Получить все telegram_settings для выпадающего списка +router.get('/telegram-settings', requireAdmin, async (req, res, next) => { + try { + const { rows } = await require('../db').getQuery()('SELECT id, bot_username FROM telegram_settings ORDER BY id'); + res.json({ success: true, items: rows }); + } catch (error) { + next(error); + } +}); + module.exports = router; \ No newline at end of file diff --git a/backend/services/ai-assistant.js b/backend/services/ai-assistant.js index 64d05a1..e2828fd 100644 --- a/backend/services/ai-assistant.js +++ b/backend/services/ai-assistant.js @@ -34,30 +34,51 @@ class AIAssistant { } // Основной метод для получения ответа - async getResponse(message, language = 'auto') { + async getResponse(message, language = 'auto', history = null, systemPrompt = '', rules = null) { try { - console.log('getResponse called with:', { message, language }); + console.log('getResponse called with:', { message, language, history, systemPrompt, rules }); // Определяем язык, если не указан явно const detectedLanguage = language === 'auto' ? this.detectLanguage(message) : language; - console.log('Detected language:', detectedLanguage); - // Сначала пробуем прямой API запрос + // Формируем system prompt с учётом правил + let fullSystemPrompt = systemPrompt || ''; + if (rules && typeof rules === 'object') { + fullSystemPrompt += '\n' + JSON.stringify(rules, null, 2); + } + + // Формируем массив сообщений для Qwen2.5/OpenAI API + const messages = []; + if (fullSystemPrompt) { + messages.push({ role: 'system', content: fullSystemPrompt }); + } + if (Array.isArray(history) && history.length > 0) { + for (const msg of history) { + if (msg.role && msg.content) { + messages.push({ role: msg.role, content: msg.content }); + } + } + } + // Добавляем текущее сообщение пользователя + messages.push({ role: 'user', content: message }); + + // Пробуем прямой API запрос (OpenAI-совместимый endpoint) try { console.log('Trying direct API request...'); - const response = await this.fallbackRequest(message, detectedLanguage); + const response = await this.fallbackRequestOpenAI(messages, detectedLanguage); console.log('Direct API response received:', response); return response; } catch (error) { console.error('Error in direct API request:', error); } - // Если прямой запрос не удался, пробуем через ChatOllama + // Если прямой запрос не удался, пробуем через ChatOllama (склеиваем сообщения в текст) const chat = this.createChat(detectedLanguage); try { + const prompt = messages.map(m => `${m.role === 'user' ? 'Пользователь' : m.role === 'assistant' ? 'Ассистент' : 'Система'}: ${m.content}`).join('\n'); console.log('Sending request to ChatOllama...'); - const response = await chat.invoke(message); + const response = await chat.invoke(prompt); console.log('ChatOllama response:', response); return response.content; } catch (error) { @@ -70,24 +91,17 @@ class AIAssistant { } } - // Альтернативный метод запроса через прямой API - async fallbackRequest(message, language) { + // Новый метод для OpenAI/Qwen2.5 совместимого endpoint + async fallbackRequestOpenAI(messages, language) { try { - console.log('Using fallback request method with:', { message, language }); - - const systemPrompt = - language === 'ru' - ? 'Вы - полезный ассистент. Отвечайте на русском языке.' - : 'You are a helpful assistant. Respond in English.'; - - console.log('Sending request to Ollama API...'); - const response = await fetch(`${this.baseUrl}/api/generate`, { + console.log('Using fallbackRequestOpenAI with:', { messages, language }); + const model = this.defaultModel; + const response = await fetch(`${this.baseUrl}/v1/chat/completions`, { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ - model: this.defaultModel, - prompt: message, - system: systemPrompt, + model, + messages, stream: false, options: { temperature: 0.7, @@ -95,16 +109,17 @@ class AIAssistant { }, }), }); - if (!response.ok) { throw new Error(`HTTP error! status: ${response.status}`); } - const data = await response.json(); - console.log('Ollama API response:', data); - return data.response; + // Qwen2.5/OpenAI API возвращает ответ в data.choices[0].message.content + if (data.choices && data.choices[0] && data.choices[0].message && data.choices[0].message.content) { + return data.choices[0].message.content; + } + return data.response || ''; } catch (error) { - console.error('Error in fallback request:', error); + console.error('Error in fallbackRequestOpenAI:', error); throw error; } } diff --git a/backend/services/aiAssistantRulesService.js b/backend/services/aiAssistantRulesService.js new file mode 100644 index 0000000..776eb14 --- /dev/null +++ b/backend/services/aiAssistantRulesService.js @@ -0,0 +1,35 @@ +const db = require('../db'); +const TABLE = 'ai_assistant_rules'; + +async function getAllRules() { + const { rows } = await db.getQuery()(`SELECT * FROM ${TABLE} ORDER BY id`); + return rows; +} + +async function getRuleById(id) { + const { rows } = await db.getQuery()(`SELECT * FROM ${TABLE} WHERE id = $1`, [id]); + return rows[0] || null; +} + +async function createRule({ name, description, rules }) { + const { rows } = await db.getQuery()( + `INSERT INTO ${TABLE} (name, description, rules, created_at, updated_at) + VALUES ($1, $2, $3, NOW(), NOW()) RETURNING *`, + [name, description, rules] + ); + return rows[0]; +} + +async function updateRule(id, { name, description, rules }) { + const { rows } = await db.getQuery()( + `UPDATE ${TABLE} SET name = $1, description = $2, rules = $3, updated_at = NOW() WHERE id = $4 RETURNING *`, + [name, description, rules, id] + ); + return rows[0]; +} + +async function deleteRule(id) { + await db.getQuery()(`DELETE FROM ${TABLE} WHERE id = $1`, [id]); +} + +module.exports = { getAllRules, getRuleById, createRule, updateRule, deleteRule }; \ No newline at end of file diff --git a/backend/services/aiAssistantSettingsService.js b/backend/services/aiAssistantSettingsService.js new file mode 100644 index 0000000..cf33d82 --- /dev/null +++ b/backend/services/aiAssistantSettingsService.js @@ -0,0 +1,48 @@ +const db = require('../db'); +const TABLE = 'ai_assistant_settings'; + +async function getSettings() { + const { rows } = await db.getQuery()(`SELECT * FROM ${TABLE} ORDER BY id LIMIT 1`); + const settings = rows[0] || null; + if (!settings) return null; + + // Получаем связанные данные из telegram_settings и email_settings + let telegramBot = null; + let supportEmail = null; + if (settings.telegram_settings_id) { + const tg = await db.getQuery()('SELECT * FROM telegram_settings WHERE id = $1', [settings.telegram_settings_id]); + telegramBot = tg.rows[0] || null; + } + if (settings.email_settings_id) { + const em = await db.getQuery()('SELECT * FROM email_settings WHERE id = $1', [settings.email_settings_id]); + supportEmail = em.rows[0] || null; + } + return { + ...settings, + telegramBot, + supportEmail + }; +} + +async function upsertSettings({ system_prompt, selected_rag_tables, languages, model, rules, updated_by, telegram_settings_id, email_settings_id, system_message }) { + const { rows } = await db.getQuery()( + `INSERT INTO ${TABLE} (id, system_prompt, selected_rag_tables, languages, model, rules, updated_at, updated_by, telegram_settings_id, email_settings_id, system_message) + VALUES (1, $1, $2, $3, $4, $5, NOW(), $6, $7, $8, $9) + ON CONFLICT (id) DO UPDATE SET + system_prompt = EXCLUDED.system_prompt, + selected_rag_tables = EXCLUDED.selected_rag_tables, + languages = EXCLUDED.languages, + model = EXCLUDED.model, + rules = EXCLUDED.rules, + updated_at = NOW(), + updated_by = EXCLUDED.updated_by, + telegram_settings_id = EXCLUDED.telegram_settings_id, + email_settings_id = EXCLUDED.email_settings_id, + system_message = EXCLUDED.system_message + RETURNING *`, + [system_prompt, selected_rag_tables, languages, model, rules, updated_by, telegram_settings_id, email_settings_id, system_message] + ); + return rows[0]; +} + +module.exports = { getSettings, upsertSettings }; \ No newline at end of file diff --git a/frontend/src/components/Message.vue b/frontend/src/components/Message.vue index f2363b2..bb92535 100644 --- a/frontend/src/components/Message.vue +++ b/frontend/src/components/Message.vue @@ -15,6 +15,12 @@
+ +
+ + +
+
@@ -168,6 +174,14 @@ const formatFileSize = (bytes) => { return parseFloat((bytes / Math.pow(k, i)).toFixed(2)) + ' ' + sizes[i]; }; +function openTelegram(url) { + window.open(url, '_blank'); +} +function copyEmail(email) { + navigator.clipboard.writeText(email); + // Можно добавить уведомление "Email скопирован" +} + \ No newline at end of file diff --git a/frontend/src/components/ai-assistant/RuleEditor.vue b/frontend/src/components/ai-assistant/RuleEditor.vue new file mode 100644 index 0000000..2b75c6c --- /dev/null +++ b/frontend/src/components/ai-assistant/RuleEditor.vue @@ -0,0 +1,122 @@ + + + \ No newline at end of file diff --git a/frontend/src/composables/useChat.js b/frontend/src/composables/useChat.js index 56b0460..7499832 100644 --- a/frontend/src/composables/useChat.js +++ b/frontend/src/composables/useChat.js @@ -3,6 +3,15 @@ import api from '../api/axios'; import { getFromStorage, setToStorage, removeFromStorage } from '../utils/storage'; import { generateUniqueId } from '../utils/helpers'; +function initGuestId() { + let id = getFromStorage('guestId', ''); + if (!id) { + id = generateUniqueId(); + setToStorage('guestId', id); + } + return id; +} + export function useChat(auth) { const messages = ref([]); const newMessage = ref(''); @@ -20,7 +29,7 @@ export function useChat(auth) { isLinkingGuest: false, // Флаг для процесса связывания гостевых сообщений (пока не используется активно) }); - const guestId = ref(getFromStorage('guestId', '')); + const guestId = ref(initGuestId()); const shouldLoadHistory = computed(() => { return auth.isAuthenticated.value || !!guestId.value; @@ -133,7 +142,7 @@ export function useChat(auth) { // Очищаем гостевые данные после успешной аутентификации и загрузки if (authType) { removeFromStorage('guestMessages'); - removeFromStorage('guestId'); + // removeFromStorage('guestId'); // Удаление guestId теперь только после успешного связывания guestId.value = ''; } @@ -219,7 +228,7 @@ export function useChat(auth) { let apiUrl = '/api/chat/message'; if (isGuestMessage) { if (!guestId.value) { - guestId.value = generateUniqueId(); + guestId.value = initGuestId(); setToStorage('guestId', guestId.value); } formData.append('guestId', guestId.value); @@ -254,6 +263,20 @@ export function useChat(auth) { }); } + // Добавляем системное сообщение для гостя (только на клиенте, не сохраняется в истории) + if (isGuestMessage && response.data.systemMessage) { + messages.value.push({ + id: `system-${Date.now()}`, + content: response.data.systemMessage, + sender_type: 'system', + role: 'system', + timestamp: new Date().toISOString(), + isSystem: true, + telegramBotUrl: response.data.telegramBotUrl, + supportEmail: response.data.supportEmail + }); + } + // Сохраняем гостевое сообщение (если нужно) // В текущей реализации HomeView гостевые сообщения из localstorage загружаются только при старте // Если нужна синхронизация после отправки, логику нужно добавить/изменить @@ -325,6 +348,23 @@ export function useChat(auth) { } }; + // --- Связывание гостевых сообщений после аутентификации --- + const linkGuestMessagesAfterAuth = async () => { + if (!guestId.value) return; + try { + const response = await api.post('/api/chat/process-guest', { guestId: guestId.value }); + if (response.data.success && response.data.conversationId) { + // Можно сразу загрузить историю по этому диалогу, если нужно + await loadMessages({ initial: true }); + // Удаляем guestId только после успешного связывания + removeFromStorage('guestId'); + guestId.value = ''; + } + } catch (error) { + console.error('[useChat] Ошибка связывания гостевых сообщений:', error); + } + }; + // --- Watchers --- // Сортировка сообщений при изменении watch(messages, (newMessages) => { @@ -379,5 +419,6 @@ export function useChat(auth) { loadMessages, handleSendMessage, loadGuestMessagesFromStorage, // Экспортируем на всякий случай + linkGuestMessagesAfterAuth, // Экспортируем для вызова после авторизации }; } \ No newline at end of file diff --git a/frontend/src/views/HomeView.vue b/frontend/src/views/HomeView.vue index 4fe96a1..0d07880 100644 --- a/frontend/src/views/HomeView.vue +++ b/frontend/src/views/HomeView.vue @@ -64,6 +64,7 @@ messageLoading, loadMessages, handleSendMessage, + linkGuestMessagesAfterAuth, } = useChat(auth); // ===================================================================== @@ -91,10 +92,12 @@ // ===================================================================== // Функция обновления сообщений после авторизации - const handleAuthEvent = (eventData) => { + const handleAuthEvent = async (eventData) => { console.log('[HomeView] Получено событие изменения авторизации:', eventData); if (eventData.isAuthenticated) { - // Пользователь только что авторизовался - загрузим сообщения + // Сначала связываем гостевые сообщения, если есть + await linkGuestMessagesAfterAuth(); + // Затем загружаем сообщения (если не было гостя, просто загрузка) loadMessages({ initial: true, authType: eventData.authType || 'wallet' }); } else { // Пользователь вышел из системы - можно очистить или обновить данные diff --git a/frontend/src/views/settings/AiAssistantSettings.vue b/frontend/src/views/settings/AiAssistantSettings.vue new file mode 100644 index 0000000..c3aebac --- /dev/null +++ b/frontend/src/views/settings/AiAssistantSettings.vue @@ -0,0 +1,211 @@ +