🔍 ArcRam Bot System Diagnostics / عیبیابی سیستم ربات
1. Autoload & Config Load / بررسی بارگذاری پروژه
✅ OK vendor/autoload.php loaded successfully.
✅ OK AppConfig loaded successfully.
2. Database Connection / اتصال دیتابیس
Host: 127.0.0.1 | Database: ArcRam | User: NKOLDYSncqEqcw
❌ FAIL Database connection failed: Connection refused
3. Directory Write Permissions / دسترسی نوشتن پوشهها
Directories:
- 📁
log: Exists. Permissions: 0755 - ✅ Writeable - 📁
data: Exists. Permissions: 0755 - ✅ Writeable - 📁
data/state: Exists. Permissions: 0755 - ✅ Writeable - 📁
classes/pending_messages: Exists. Permissions: 0755 - ✅ Writeable - 📁
classes/form_states: Exists. Permissions: 0755 - ✅ Writeable - 📁
classes/data: Exists. Permissions: 0755 - ✅ Writeable
Files:
- 📄
rejection_reasons.json: Exists. Permissions: 0755 - ✅ Writeable - 📄
rejection_reasons_portfolio.json: Exists. Permissions: 0755 - ✅ Writeable - 📄
parent_ids.json: Exists. Permissions: 0755 - ✅ Writeable
4. Telegram Bot API & Webhook / تلگرام و وبهوک
Bot Token:
1118127785...sqIEI✅
OK Bot connection successful!
🤖 Bot Name:
آرک رام ArcRam🤖 Bot Username: @
ArcrambotCurrent Webhook Settings:
🔗 URL:
https://ramai.ir/Rambot/ArcRam/public/bot.php⏳ Pending Updates:
0❌ Last Error Message:
Read timeout expired🕒 Last Error Date: 2026-08-13 15:03:45
Suggested Webhook URL:
http://79.133.51.149/ArcRam/public/bot.php?set_webhook=1🔄
Webhook Set Action Triggered:Response HTTP: 400
Response Body:
{"ok":false,"error_code":400,"description":"Bad Request: bad webhook: An HTTPS URL must be provided for webhook"}5. Server Environment / محیط سرور
Server IP: 79.133.51.149
PHP Version: 8.3.6
HTTPS Protocol: ❌ No (Telegram requires HTTPS!)