Main gateway server operations
2026-06-12 09:50:34.075 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-12 09:49:34.014 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-12 09:48:33.964 [INFO] [main] [CLEANUP] Removed stale UDP client ('46.114.229.25', 3391)
2026-06-12 09:47:33.903 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-12 09:46:33.870 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-12 09:45:33.822 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-12 09:44:33.803 [INFO] [main] [CLEANUP] Removed stale UDP client ('46.114.210.45', 21235)
2026-06-12 09:43:33.742 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-12 09:42:33.696 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-12 09:41:33.635 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-12 09:40:33.629 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-12 09:39:33.624 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-12 09:38:33.574 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-12 09:37:33.540 [INFO] [main] [CLEANUP] Removed stale UDP client ('46.114.225.20', 27839)
2026-06-12 09:36:33.479 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-12 09:35:33.433 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-12 09:34:33.371 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-12 09:33:33.310 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-12 09:32:33.292 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-12 09:31:33.230 [INFO] [main] [CLEANUP] Removed stale UDP client ('172.20.0.1', 55132)
2026-06-12 09:30:33.222 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-12 09:29:33.160 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-12 09:28:33.128 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-12 09:27:33.102 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-12 09:26:33.046 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-12 09:25:32.988 [INFO] [main] [UDP] UDP server listening on 0.0.0.0:5683
2026-06-12 09:25:32.988 [INFO] [main] [UDP] Starting UDP server on port 5683
2026-06-12 09:25:32.987 [INFO] [main] [TCP] TCP server listening on 0.0.0.0:5684
2026-06-12 09:25:32.987 [INFO] [main] [MAIN] TCP server thread started
2026-06-12 09:25:32.986 [INFO] [main] [TCP] Starting TCP server on port 5684
2026-06-12 09:25:32.985 [INFO] [main] [MAIN] Cleanup thread started
2026-06-12 09:25:32.985 [INFO] [main] [CLEANUP] Starting cleanup thread
2026-06-12 09:25:32.984 [INFO] [main] ============================================================
2026-06-12 09:25:32.984 [INFO] [main] NAT Keepalive: ENABLED
2026-06-12 09:25:32.984 [INFO] [main] Test Mode: ENABLED
2026-06-12 09:25:32.983 [INFO] [main] SSL Verification: False
2026-06-12 09:25:32.983 [INFO] [main] API Endpoint: https://stage.sdk-dashboard.hypen.ro/api/device-data
2026-06-12 09:25:32.983 [INFO] [main] TCP Port: 5684
2026-06-12 09:25:32.982 [INFO] [main] UDP Port: 5683
2026-06-12 09:25:32.982 [INFO] [main] FIXED: Bidirectional communication through NAT
2026-06-12 09:25:32.982 [INFO] [main] ENHANCED: Proper connection reuse for NAT traversal
2026-06-12 09:25:32.981 [INFO] [main] Starting Enhanced Dual Protocol Gateway with NAT Support
2026-06-12 09:25:32.980 [INFO] [main] ============================================================
2026-06-12 09:25:32.980 [INFO] [main] [MONITOR] Connection monitor started
2026-06-12 09:25:31.859 [INFO] [main] [MAIN] Received signal 15, shutting down...
2026-06-12 09:24:33.847 [INFO] [main] [CLEANUP] Removed stale UDP client ('46.114.211.121', 16976)
2026-06-12 09:23:33.834 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 0
2026-06-12 09:22:33.773 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 0
2026-06-12 09:21:33.765 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 0
2026-06-12 09:21:33.765 [INFO] [main] [CLEANUP] Removed stale UDP client ('46.114.214.220', 26029)