Main gateway server operations
2026-02-23 12:25:34.463 [INFO] [main] [MAIN] Cleanup thread started
2026-02-23 12:25:34.462 [INFO] [main] [CLEANUP] Starting cleanup thread
2026-02-23 12:25:34.462 [INFO] [main] ============================================================
2026-02-23 12:25:34.461 [INFO] [main] NAT Keepalive: ENABLED
2026-02-23 12:25:34.461 [INFO] [main] Test Mode: ENABLED
2026-02-23 12:25:34.461 [INFO] [main] SSL Verification: False
2026-02-23 12:25:34.460 [INFO] [main] API Endpoint: https://stage.sdk-dashboard.hypen.ro/api/device-data
2026-02-23 12:25:34.460 [INFO] [main] TCP Port: 5684
2026-02-23 12:25:34.460 [INFO] [main] UDP Port: 5683
2026-02-23 12:25:34.460 [INFO] [main] FIXED: Bidirectional communication through NAT
2026-02-23 12:25:34.459 [INFO] [main] ENHANCED: Proper connection reuse for NAT traversal
2026-02-23 12:25:34.459 [INFO] [main] Starting Enhanced Dual Protocol Gateway with NAT Support
2026-02-23 12:25:34.458 [INFO] [main] ============================================================
2026-02-23 12:25:34.457 [INFO] [main] [MONITOR] Connection monitor started
2026-02-23 12:25:32.251 [INFO] [main] [MAIN] Received signal 15, shutting down...
2026-02-22 15:35:08.417 [INFO] [main] [TCP] Client ('162.142.125.113', 29632) disconnected and cleaned up
2026-02-22 15:35:08.417 [INFO] [main] [TCP] Client ('162.142.125.113', 29632) connection lost: [Errno 104] Connection reset by peer
2026-02-22 15:34:58.418 [INFO] [main] [TCP] New client connection from ('162.142.125.113', 29632)
2026-02-22 15:34:58.417 [INFO] [main] [TCP] Accepted connection from ('162.142.125.113', 29632)
2026-02-22 15:34:55.283 [INFO] [main] [TCP] Client ('162.142.125.113', 64104) disconnected and cleaned up
2026-02-22 15:34:55.283 [INFO] [main] [TCP] Client ('162.142.125.113', 64104) disconnected
2026-02-22 15:34:40.284 [INFO] [main] [TCP] New client connection from ('162.142.125.113', 64104)
2026-02-22 15:34:40.283 [INFO] [main] [TCP] Accepted connection from ('162.142.125.113', 64104)
2026-02-22 15:34:37.160 [INFO] [main] [TCP] Client ('162.142.125.113', 39930) disconnected and cleaned up
2026-02-22 15:34:37.159 [INFO] [main] [TCP] Client ('162.142.125.113', 39930) connection lost: [Errno 104] Connection reset by peer
2026-02-22 15:34:28.161 [INFO] [main] [TCP] New client connection from ('162.142.125.113', 39930)
2026-02-22 15:34:28.159 [INFO] [main] [TCP] Accepted connection from ('162.142.125.113', 39930)
2026-02-22 15:34:28.034 [INFO] [main] [TCP] Client ('162.142.125.113', 20948) disconnected and cleaned up
2026-02-22 15:34:28.033 [INFO] [main] [TCP] Client ('162.142.125.113', 20948) connection lost: [Errno 104] Connection reset by peer
2026-02-22 15:34:22.031 [INFO] [main] [TCP] New client connection from ('162.142.125.113', 20948)
2026-02-22 15:34:22.030 [INFO] [main] [TCP] Accepted connection from ('162.142.125.113', 20948)
2026-02-22 15:34:21.909 [INFO] [main] [TCP] Client ('162.142.125.113', 20936) disconnected and cleaned up
2026-02-22 15:34:21.909 [INFO] [main] [TCP] Client ('162.142.125.113', 20936) connection lost: [Errno 104] Connection reset by peer
2026-02-22 15:34:18.911 [INFO] [main] [TCP] New client connection from ('162.142.125.113', 20936)
2026-02-22 15:34:18.910 [INFO] [main] [TCP] Accepted connection from ('162.142.125.113', 20936)
2026-02-21 14:42:44.288 [INFO] [main] [TCP] Client ('206.168.34.212', 59234) disconnected and cleaned up
2026-02-21 14:42:44.287 [INFO] [main] [TCP] Client ('206.168.34.212', 59234) connection lost: [Errno 104] Connection reset by peer
2026-02-21 14:42:27.930 [INFO] [main] [TCP] New client connection from ('206.168.34.212', 59234)
2026-02-21 14:42:27.928 [INFO] [main] [TCP] Accepted connection from ('206.168.34.212', 59234)
2026-02-21 14:42:21.937 [INFO] [main] [TCP] Client ('206.168.34.212', 47144) disconnected and cleaned up
2026-02-21 14:42:21.936 [INFO] [main] [TCP] Client ('206.168.34.212', 47144) disconnected
2026-02-21 14:42:11.855 [INFO] [main] [CLEANUP] Active connections - UDP: 0, TCP: 1, Boxes: 0
2026-02-21 14:42:05.640 [INFO] [main] [TCP] New client connection from ('206.168.34.212', 47144)
2026-02-21 14:42:05.638 [INFO] [main] [TCP] Accepted connection from ('206.168.34.212', 47144)
2026-02-21 14:42:01.475 [INFO] [main] [TCP] Client ('206.168.34.212', 54158) disconnected and cleaned up
2026-02-21 14:42:01.474 [INFO] [main] [TCP] Client ('206.168.34.212', 54158) connection lost: [Errno 104] Connection reset by peer
2026-02-21 14:41:50.056 [INFO] [main] [TCP] New client connection from ('206.168.34.212', 54158)
2026-02-21 14:41:50.054 [INFO] [main] [TCP] Accepted connection from ('206.168.34.212', 54158)
2026-02-21 14:41:49.902 [INFO] [main] [TCP] Client ('206.168.34.212', 42404) disconnected and cleaned up
2026-02-21 14:41:49.902 [INFO] [main] [TCP] Client ('206.168.34.212', 42404) connection lost: [Errno 104] Connection reset by peer