ваше сообщение коммита
This commit is contained in:
59
README.md
59
README.md
@@ -1,6 +1,6 @@
|
||||
# DApp-for-Business
|
||||
|
||||
Бизнес-платформа для работы с блокчейн и интеграцией ИИ.
|
||||
Приложение для бизнеса
|
||||
|
||||
## Требования
|
||||
|
||||
@@ -17,22 +17,11 @@ git clone https://github.com/yourusername/DApp-for-Business.git
|
||||
cd DApp-for-Business
|
||||
```
|
||||
|
||||
2. Настройте переменные окружения:
|
||||
```bash
|
||||
# Создайте файлы .env из примеров
|
||||
cp backend/.env.example backend/.env
|
||||
cp frontend/.env.example frontend/.env
|
||||
|
||||
# Отредактируйте файлы .env с вашими настройками
|
||||
nano backend/.env
|
||||
nano frontend/.env
|
||||
```
|
||||
|
||||
3. Запустите скрипт установки:
|
||||
2. Запустите скрипт установки:
|
||||
```bash
|
||||
./setup.sh
|
||||
|
||||
4. Выполните миграции изнутри контейнера backend:
|
||||
3. Выполните миграции изнутри контейнера backend:
|
||||
```
|
||||
docker exec -e NODE_ENV=migration dapp-backend yarn migrate
|
||||
|
||||
@@ -73,44 +62,4 @@ docker compose down
|
||||
|
||||
# Остановка сервисов и удаление томов
|
||||
docker compose down -v
|
||||
```
|
||||
|
||||
## Безопасность
|
||||
|
||||
По умолчанию проект настроен с базовыми учетными данными для разработки. Перед использованием в продакшене:
|
||||
|
||||
1. **Измените все пароли и ключи в .env файлах**
|
||||
2. **Не публикуйте .env файлы в репозитории** (они добавлены в .gitignore)
|
||||
3. **Обновите SESSION_SECRET для защиты сессий**
|
||||
4. **Используйте безопасные пароли для базы данных**
|
||||
5. **Настройте SSL/TLS для продакшен-окружения**
|
||||
|
||||
## Переменные окружения
|
||||
|
||||
Основные переменные, которые следует настроить:
|
||||
|
||||
- `DB_USER`, `DB_PASSWORD` - учетные данные для базы данных
|
||||
- `SESSION_SECRET` - секрет для шифрования сессий
|
||||
- `PRIVATE_KEY` - приватный ключ для подписи транзакций
|
||||
- `EMAIL_*` - настройки почтового сервера
|
||||
- `TELEGRAM_BOT_TOKEN` - токен для Telegram бота
|
||||
|
||||
## Примечания
|
||||
|
||||
- Загрузка модели qwen2.5:7b может занять некоторое время в зависимости от скорости интернета
|
||||
- Для использования GPU Ollama требуются установленные драйверы NVIDIA и nvidia-container-toolkit
|
||||
|
||||
## Важно! Если в контейнерах нет доступа к интернету
|
||||
|
||||
1. Откройте Docker Desktop → Settings → Docker Engine.
|
||||
2. Добавьте строку:
|
||||
"dns": ["8.8.8.8", "1.1.1.1"]
|
||||
Пример:
|
||||
{
|
||||
...
|
||||
"dns": ["8.8.8.8", "1.1.1.1"]
|
||||
}
|
||||
3. Нажмите "Apply & Restart".
|
||||
4. Перезапустите приложение:
|
||||
docker compose down
|
||||
docker compose up -d
|
||||
```
|
||||
1
backend/.gitignore
vendored
1
backend/.gitignore
vendored
@@ -16,6 +16,7 @@ yarn-error.log*
|
||||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
.sql.env
|
||||
|
||||
# Кэши и временные файлы
|
||||
.cache/
|
||||
|
||||
21
backend/db/migrations/037_seed_rpc_and_auth_tokens.sql.env
Normal file
21
backend/db/migrations/037_seed_rpc_and_auth_tokens.sql.env
Normal file
@@ -0,0 +1,21 @@
|
||||
-- Миграция: наполнение таблиц rpc_providers и auth_tokens начальными значениями
|
||||
|
||||
-- Добавление RPC-провайдеров
|
||||
INSERT INTO rpc_providers (network_id, rpc_url, chain_id)
|
||||
VALUES
|
||||
('bsc', 'https://bsc-mainnet.nodereal.io/v1/56dec8028bae4f26b76099a42dae2b52', 56),
|
||||
('ethereum', 'https://eth-mainnet.nodereal.io/v1/56dec8028bae4f26b76099a42dae2b52', 1),
|
||||
('arbitrum', 'https://arb1.arbitrum.io/rpc', 42161),
|
||||
('polygon', 'https://polygon.drpc.org', 137),
|
||||
('sepolia', 'https://eth-sepolia.nodereal.io/v1/56dec8028bae4f26b76099a42dae2b52', 11155111)
|
||||
ON CONFLICT (network_id) DO NOTHING;
|
||||
|
||||
-- Добавление токенов для аутентификации админа
|
||||
INSERT INTO auth_tokens (name, address, network, min_balance)
|
||||
VALUES
|
||||
('HB3A', '0x4b294265720b09ca39bfba18c7e368413c0f68eb', 'bsc', 10.0),
|
||||
('HB3A', '0xd95a45fc46a7300e6022885afec3d618d7d3f27c', 'ethereum', 10.0),
|
||||
('test2', '0xef49261169B454f191678D2aFC5E91Ad2e85dfD8', 'sepolia', 50.0),
|
||||
('HB3A', '0x351f59de4fedbdf7601f5592b93db3b9330c1c1d', 'polygon', 10.0),
|
||||
('HB3A', '0xdCe769b847a0a697239777D0B1C7dd33b6012ba0', 'arbitrum', 100.0)
|
||||
ON CONFLICT (address, network) DO NOTHING;
|
||||
@@ -9079,3 +9079,162 @@
|
||||
{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-24T13:45:24.748Z"}
|
||||
{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-24T13:45:24.752Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-24T13:45:31.433Z"}
|
||||
{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-24T13:45:55.008Z"}
|
||||
{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-24T13:45:55.011Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-24T13:46:21.648Z"}
|
||||
{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-24T13:46:25.293Z"}
|
||||
{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-24T13:46:25.300Z"}
|
||||
{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-24T13:46:55.541Z"}
|
||||
{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-24T13:46:55.546Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-24T13:47:20.568Z"}
|
||||
{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-24T13:47:25.832Z"}
|
||||
{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-24T13:47:25.836Z"}
|
||||
{"level":"info","message":"Директория существует: /app/contracts-data","timestamp":"2025-06-25T07:34:22.599Z"}
|
||||
{"level":"info","message":"Директория доступна для записи: /app/contracts-data","timestamp":"2025-06-25T07:34:22.602Z"}
|
||||
{"level":"info","message":"Директория существует: /app/contracts-data/dles","timestamp":"2025-06-25T07:34:22.602Z"}
|
||||
{"level":"info","message":"Директория доступна для записи: /app/contracts-data/dles","timestamp":"2025-06-25T07:34:22.604Z"}
|
||||
{"level":"info","message":"Директория существует: /app/temp","timestamp":"2025-06-25T07:34:22.605Z"}
|
||||
{"level":"info","message":"Директория доступна для записи: /app/temp","timestamp":"2025-06-25T07:34:22.606Z"}
|
||||
{"level":"info","message":"Ethers version: 6.13.5","timestamp":"2025-06-25T07:34:22.844Z"}
|
||||
{"level":"info","message":"[EmailBot] start() called","timestamp":"2025-06-25T07:34:22.857Z"}
|
||||
{"connTimeout":30000,"host":"mail.hostland.ru","keepalive":{"forceNoop":true,"idleInterval":300000,"interval":10000},"level":"info","message":"[EmailBot] IMAP config:","password":"***","port":993,"timestamp":"2025-06-25T07:34:22.952Z","tls":true,"tlsOptions":{"rejectUnauthorized":false},"user":"info@hb3-accelerator.com"}
|
||||
{"level":"info","message":"[EmailBot] IMAP connect attempt 1","timestamp":"2025-06-25T07:34:22.953Z"}
|
||||
{"level":"info","message":"[EmailBot] IMAP connection ready","timestamp":"2025-06-25T07:34:24.302Z"}
|
||||
{"level":"info","message":"[EmailBot] Email bot started and IMAP connection initiated","timestamp":"2025-06-25T07:34:24.305Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T07:34:30.296Z"}
|
||||
{"level":"info","message":"GET /api/auth/identities","timestamp":"2025-06-25T07:34:40.977Z"}
|
||||
{"level":"info","message":"[IdentityService] Found 3 identities for user 1","timestamp":"2025-06-25T07:34:41.002Z"}
|
||||
{"level":"info","message":"POST /api/auth/logout","timestamp":"2025-06-25T07:34:47.300Z"}
|
||||
{"address":null,"authType":null,"authenticated":false,"cookie":{"expires":"2025-07-24T10:25:21.744Z","httpOnly":true,"originalMaxAge":2592000000,"path":"/","sameSite":"lax","secure":false},"email":null,"guestId":null,"isAdmin":false,"level":"info","message":"[SessionService] Saving session data:","pendingEmail":null,"previousGuestId":null,"processedGuestIds":[],"telegramId":null,"timestamp":"2025-06-25T07:34:47.302Z","userId":null}
|
||||
{"level":"info","message":"Session saved successfully","timestamp":"2025-06-25T07:34:47.310Z"}
|
||||
{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-25T07:34:47.334Z"}
|
||||
{"cookie":{"expires":"2025-07-25T07:34:47.330Z","httpOnly":true,"originalMaxAge":2592000000,"path":"/","sameSite":"lax","secure":false},"guestId":"0c8585859a567c3b2c67e877823f04e9","level":"info","message":"[SessionService] Saving session data:","timestamp":"2025-06-25T07:34:47.335Z"}
|
||||
{"level":"info","message":"Session saved successfully","timestamp":"2025-06-25T07:34:47.341Z"}
|
||||
{"level":"info","message":"GET /api/chat/history?count_only=true","timestamp":"2025-06-25T07:34:47.397Z"}
|
||||
{"level":"info","message":"GET /api/chat/history?offset=0&limit=30","timestamp":"2025-06-25T07:34:47.445Z"}
|
||||
{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-25T07:34:48.830Z"}
|
||||
{"level":"info","message":"Директория существует: /app/contracts-data","timestamp":"2025-06-25T08:19:36.464Z"}
|
||||
{"level":"info","message":"Директория доступна для записи: /app/contracts-data","timestamp":"2025-06-25T08:19:36.471Z"}
|
||||
{"level":"info","message":"Директория существует: /app/contracts-data/dles","timestamp":"2025-06-25T08:19:36.473Z"}
|
||||
{"level":"info","message":"Директория доступна для записи: /app/contracts-data/dles","timestamp":"2025-06-25T08:19:36.477Z"}
|
||||
{"level":"info","message":"Директория существует: /app/temp","timestamp":"2025-06-25T08:19:36.478Z"}
|
||||
{"level":"info","message":"Директория доступна для записи: /app/temp","timestamp":"2025-06-25T08:19:36.479Z"}
|
||||
{"level":"info","message":"Ethers version: 6.13.5","timestamp":"2025-06-25T08:19:36.814Z"}
|
||||
{"level":"info","message":"[EmailBot] start() called","timestamp":"2025-06-25T08:19:36.835Z"}
|
||||
{"connTimeout":30000,"host":"mail.hostland.ru","keepalive":{"forceNoop":true,"idleInterval":300000,"interval":10000},"level":"info","message":"[EmailBot] IMAP config:","password":"***","port":993,"timestamp":"2025-06-25T08:19:36.920Z","tls":true,"tlsOptions":{"rejectUnauthorized":false},"user":"info@hb3-accelerator.com"}
|
||||
{"level":"info","message":"[EmailBot] IMAP connect attempt 1","timestamp":"2025-06-25T08:19:36.921Z"}
|
||||
{"level":"info","message":"[EmailBot] IMAP connection ready","timestamp":"2025-06-25T08:19:38.140Z"}
|
||||
{"level":"info","message":"[EmailBot] Email bot started and IMAP connection initiated","timestamp":"2025-06-25T08:19:38.145Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:19:41.742Z"}
|
||||
{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-25T08:20:36.621Z"}
|
||||
{"level":"warn","message":"[EmailBot] IMAP reconnecting in 10 seconds (attempt 2)...","timestamp":"2025-06-25T08:20:36.622Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:20:36.623Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:20:36.623Z"}
|
||||
{"level":"info","message":"[EmailBot] IMAP connect attempt 2","timestamp":"2025-06-25T08:20:46.635Z"}
|
||||
{"level":"info","message":"[EmailBot] IMAP connection ready","timestamp":"2025-06-25T08:20:52.277Z"}
|
||||
{"level":"info","message":"[EmailBot] Email bot started and IMAP connection initiated","timestamp":"2025-06-25T08:20:52.281Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:20:53.227Z"}
|
||||
{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-25T08:21:31.980Z"}
|
||||
{"level":"warn","message":"[EmailBot] IMAP reconnecting in 10 seconds (attempt 3)...","timestamp":"2025-06-25T08:21:31.981Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:21:31.981Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:21:31.982Z"}
|
||||
{"level":"info","message":"[EmailBot] IMAP connect attempt 3","timestamp":"2025-06-25T08:21:41.993Z"}
|
||||
{"level":"info","message":"[EmailBot] IMAP connection ready","timestamp":"2025-06-25T08:21:48.721Z"}
|
||||
{"level":"info","message":"[EmailBot] Email bot started and IMAP connection initiated","timestamp":"2025-06-25T08:21:48.724Z"}
|
||||
{"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.<anonymous> (/app/services/emailBot.js:105:19)\n at Object.onceWrapper (node:events:638:28)\n at Connection.emit (node:events:536:35)\n at Connection.<anonymous> (/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.<anonymous> (/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-25T08:21:48.727Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:21:50.056Z"}
|
||||
{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-25T08:22:27.551Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:22:27.552Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:22:27.552Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:22:27.553Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:22:48.555Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:22:48.556Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:23:21.540Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:23:21.656Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:23:21.736Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:23:21.900Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:23:41.060Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:23:41.171Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:24:16.711Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:24:36.567Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:24:36.676Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:24:39.369Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:24:39.370Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:24:39.371Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:24:39.372Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:24:39.372Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:24:39.373Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:25:11.909Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:25:34.759Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:25:34.760Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:25:34.761Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:26:07.760Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:26:07.905Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:26:08.025Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:26:27.725Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:26:27.952Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:26:30.286Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:26:30.287Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:26:30.288Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:27:04.504Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:27:27.184Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:27:27.295Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:27:27.406Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:27:58.190Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:28:18.166Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:28:18.275Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:28:20.952Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:28:20.953Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:28:20.953Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:28:20.953Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:28:20.953Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:28:55.578Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:29:16.233Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:29:16.233Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:29:16.234Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:29:50.587Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:30:11.780Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:30:11.781Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:30:45.162Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:30:45.227Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:30:45.494Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:30:46.607Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:30:46.751Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:30:43.496Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:31:07.180Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:31:07.181Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:31:07.182Z"}
|
||||
{"level":"info","message":"GET /api/auth/check","timestamp":"2025-06-25T08:31:07.276Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:31:39.115Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:31:39.162Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:31:39.209Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:31:59.229Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:31:59.291Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:32:02.570Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:32:02.570Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:32:02.571Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:32:35.171Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:32:57.967Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:32:57.968Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:32:57.968Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:33:32.580Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:33:32.644Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:33:32.803Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:33:50.050Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:33:50.222Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:33:53.457Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:33:53.458Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:33:53.459Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:34:26.102Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:34:48.721Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:34:48.722Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:34:48.723Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:35:23.598Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:35:23.708Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:35:23.824Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:35:42.791Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:35:42.900Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:35:44.136Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:35:44.136Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:35:44.137Z"}
|
||||
{"level":"info","message":"No new messages found","timestamp":"2025-06-25T08:36:16.608Z"}
|
||||
|
||||
@@ -1510,3 +1510,58 @@
|
||||
{"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:60:17)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-06-24T13:39:21.648Z","url":"/api/settings/email-settings","userId":129}
|
||||
{"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:60:17)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-06-24T13:39:21.902Z","url":"/api/settings/ai-assistant-rules","userId":129}
|
||||
{"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:60:17)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-06-24T13:39:22.030Z","url":"/api/settings/telegram-settings","userId":129}
|
||||
{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-25T08:20:36.621Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:20:36.623Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:20:36.623Z"}
|
||||
{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-25T08:21:31.980Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:21:31.981Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:21:31.982Z"}
|
||||
{"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.<anonymous> (/app/services/emailBot.js:105:19)\n at Object.onceWrapper (node:events:638:28)\n at Connection.emit (node:events:536:35)\n at Connection.<anonymous> (/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.<anonymous> (/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-25T08:21:48.727Z"}
|
||||
{"level":"error","message":"[EmailBot] IMAP connection error: Timed out while authenticating with server","timestamp":"2025-06-25T08:22:27.551Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:22:27.552Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:22:27.552Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:22:27.553Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:22:48.555Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:22:48.556Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:24:39.369Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:24:39.370Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:24:39.371Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:24:39.372Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:24:39.372Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:24:39.373Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:25:34.759Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:25:34.760Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:25:34.761Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:26:30.286Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:26:30.287Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:26:30.288Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:27:04.504Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:28:20.952Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:28:20.953Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:28:20.953Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:28:20.953Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:28:20.953Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:29:16.233Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:29:16.233Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:29:16.234Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:29:50.587Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:30:11.780Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:30:11.781Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:31:07.180Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:31:07.181Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:31:07.182Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:32:02.570Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:32:02.570Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:32:02.571Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:32:57.967Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:32:57.968Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:32:57.968Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:33:53.457Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:33:53.458Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:33:53.459Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:34:48.721Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:34:48.722Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:34:48.723Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:35:44.136Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:35:44.136Z"}
|
||||
{"level":"error","message":"IMAP connection error during check: Timed out while authenticating with server","timestamp":"2025-06-25T08:35:44.137Z"}
|
||||
|
||||
Reference in New Issue
Block a user