[2026-09-25 03:11:25] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 03:11:32] [LAUNCHER] Stopping all services
[2026-09-25 03:11:32] [LAUNCHER] All services stopped
[2026-09-25 03:11:41] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 03:11:47] [BOOT] Market Data Scheduler starting {"pid":934169,"timeframes":[15,30,45,60,90],"symbols":["BTCUSD"],"trading_enabled":"true"}
[2026-09-25 03:11:47] [BOOT] Market Data Scheduler starting {"timeframes":[15,30,45,60,90],"trading_enabled":"true"}
[2026-09-25 03:11:57] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 03:11:57] [PERSISTENCE] Selected Driver: File
[2026-09-25 03:12:01] [SERVICES] All services started in foreground mode
[2026-09-25 03:12:01] [LAUNCHER] Starting all services
[2026-09-25 03:12:01] [LAUNCHER] Started service {"service":"Market Data Runner","script":"/home/primaryk/public_html/crypto-algo.primarykeytech.in/bin/market-data-runner.php"}
[2026-09-25 03:12:01] [BOOT] Stale PID lock detected, recovering {"pid":934169}
[2026-09-25 03:12:01] [BOOT] Market Data Scheduler starting {"pid":934484,"timeframes":[15,30,45,60,90],"symbols":["BTCUSD"],"trading_enabled":"true"}
[2026-09-25 03:12:01] [BOOT] Market Data Scheduler starting {"timeframes":[15,30,45,60,90],"trading_enabled":"true"}
[2026-09-25 03:12:01] [LAUNCHER] Started service {"service":"Trade Monitor Runner","script":"/home/primaryk/public_html/crypto-algo.primarykeytech.in/bin/trade-monitor-runner.php"}
[2026-09-25 03:12:02] [LAUNCHER] Started service {"service":"Telegram Bot Runner","script":"/home/primaryk/public_html/crypto-algo.primarykeytech.in/bin/telegram-bot-runner.php"}
[2026-09-25 03:12:02] [LAUNCHER] Started service {"service":"Order Status Poller","script":"/home/primaryk/public_html/crypto-algo.primarykeytech.in/bin/order-status-poller.php"}
[2026-09-25 03:12:03] [LAUNCHER] All services started successfully
[2026-09-25 03:12:07] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 03:12:11] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 03:12:11] [PERSISTENCE] Selected Driver: File
[2026-09-25 03:12:11] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 03:12:12] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 03:12:12] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 03:12:12] [ORDER_STATUS_POLLER][ERROR] DB Connection failed, retrying... {"attempt":1,"error":"DB connection failed: Connection timed out"}
[2026-09-25 03:12:19] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 03:12:19] [MIGRATION][ERROR] Failed to add API logging columns {"error":"DB connection failed: Connection timed out","trace":"#0 /home/primaryk/public_html/crypto-algo.primarykeytech.in/app/Support/Database.php(42): App\\Support\\Database::connect()\n#1 /home/primaryk/public_html/crypto-algo.primarykeytech.in/migrations/add-api-logging-columns.php(29): App\\Support\\Database::connection()\n#2 {main}"}
[2026-09-25 03:12:21] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 03:12:28] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 03:12:28] [ORDER_STATUS_POLLER][ERROR] DB Connection failed, retrying... {"attempt":2,"error":"DB connection failed: Connection timed out"}
[2026-09-25 03:12:41] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 03:12:43] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 03:12:43] [ORDER_STATUS_POLLER][ERROR] DB Connection failed, retrying... {"attempt":3,"error":"DB connection failed: Connection timed out"}
[2026-09-25 03:12:58] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 03:12:58] [ORDER_STATUS_POLLER][ERROR] DB Connection failed, retrying... {"attempt":4,"error":"DB connection failed: Connection timed out"}
[2026-09-25 03:13:05] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 03:13:13] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 03:13:13] [ORDER_STATUS_POLLER][ERROR] DB Connection failed, retrying... {"attempt":5,"error":"DB connection failed: Connection timed out"}
[2026-09-25 03:13:18] [ORDER_STATUS_POLLER][FATAL] Could not connect to database after retries. Exiting.
[2026-09-25 03:16:18] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 03:46:11] [EXCHANGE_RATE][SUCCESS] USD to INR rate fetched {"rate":95.81,"source":"API"}
[2026-09-25 03:46:11] [EXCHANGE_RATE][CACHE] Using cached rate {"rate":95.81,"age_sec":0}
[2026-09-25 03:46:11] [EXCHANGE_RATE][CACHE] Using cached rate {"rate":95.81,"age_sec":0}
[2026-09-25 03:46:11] [RATE_LIMIT] Request rate limited {"key":"TEST_KEY","tokens":1.1920928955078125e-5,"capacity":5}
[2026-09-25 03:46:26] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 03:46:59] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 03:47:56] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 03:48:15] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 03:48:15] [ORDER_STATUS_POLLER][ERROR] DB Connection failed, retrying... {"attempt":1,"error":"DB connection failed: Connection timed out"}
[2026-09-25 03:48:30] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 03:48:30] [ORDER_STATUS_POLLER][ERROR] DB Connection failed, retrying... {"attempt":2,"error":"DB connection failed: Connection timed out"}
[2026-09-25 03:48:45] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 03:48:45] [ORDER_STATUS_POLLER][ERROR] DB Connection failed, retrying... {"attempt":3,"error":"DB connection failed: Connection timed out"}
[2026-09-25 03:49:00] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 03:49:00] [ORDER_STATUS_POLLER][ERROR] DB Connection failed, retrying... {"attempt":4,"error":"DB connection failed: Connection timed out"}
[2026-09-25 03:49:15] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 03:49:15] [ORDER_STATUS_POLLER][ERROR] DB Connection failed, retrying... {"attempt":5,"error":"DB connection failed: Connection timed out"}
[2026-09-25 03:49:20] [ORDER_STATUS_POLLER][FATAL] Could not connect to database after retries. Exiting.
[2026-09-25 03:50:38] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 04:37:44] [MIGRATION] Creating telegram_subscribers table
[2026-09-25 04:37:53] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 04:37:54] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 04:37:56] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 04:38:06] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 04:39:15] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 04:41:14] [MIGRATION] Adding broker_account_id to telegram_subscribers table
[2026-09-25 04:41:24] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 05:20:30] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 06:05:54] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 06:09:04] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 07:35:38] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 07:35:40] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 07:36:56] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 07:38:18] [MIGRATION] Creating many-to-many telegram subscriber-broker mapping
[2026-09-25 07:38:28] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
[2026-09-25 08:22:36] [DB][FATAL] Connection failed {"host":"brato.dnshfe.com","user":"primaryk_crypto-nordtech","db":"primaryk_cryptoAlgo","error":"Connection timed out","attempt":1}
