Main gateway server operations
2026-06-13 14:22:28.917 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-13 14:21:28.894 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-13 14:19:28.830 [INFO] [main] [CLEANUP] Removed stale UDP client ('46.114.208.235', 16366)
2026-06-13 14:18:28.798 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-13 14:17:28.790 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-13 14:16:28.782 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-13 13:59:28.166 [INFO] [main] [CLEANUP] Removed stale UDP client ('46.114.230.221', 25656)
2026-06-13 13:58:28.158 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-13 13:57:28.142 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-13 13:56:28.086 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-13 13:56:28.085 [INFO] [main] [CLEANUP] Removed stale UDP client ('172.20.0.1', 41584)
2026-06-13 13:55:28.077 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-13 13:54:28.035 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-13 13:53:27.974 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-13 13:52:27.924 [INFO] [main] [UDP] UDP server listening on 0.0.0.0:5683
2026-06-13 13:52:27.924 [INFO] [main] [TCP] TCP server listening on 0.0.0.0:5684
2026-06-13 13:52:27.923 [INFO] [main] [UDP] Starting UDP server on port 5683
2026-06-13 13:52:27.923 [INFO] [main] [MAIN] TCP server thread started
2026-06-13 13:52:27.922 [INFO] [main] [TCP] Starting TCP server on port 5684
2026-06-13 13:52:27.921 [INFO] [main] [MAIN] Cleanup thread started
2026-06-13 13:52:27.921 [INFO] [main] [CLEANUP] Starting cleanup thread
2026-06-13 13:52:27.920 [INFO] [main] ============================================================
2026-06-13 13:52:27.920 [INFO] [main] NAT Keepalive: ENABLED
2026-06-13 13:52:27.920 [INFO] [main] Test Mode: ENABLED
2026-06-13 13:52:27.920 [INFO] [main] SSL Verification: False
2026-06-13 13:52:27.919 [INFO] [main] API Endpoint: https://stage.sdk-dashboard.hypen.ro/api/device-data
2026-06-13 13:52:27.919 [INFO] [main] TCP Port: 5684
2026-06-13 13:52:27.919 [INFO] [main] UDP Port: 5683
2026-06-13 13:52:27.919 [INFO] [main] FIXED: Bidirectional communication through NAT
2026-06-13 13:52:27.918 [INFO] [main] ENHANCED: Proper connection reuse for NAT traversal
2026-06-13 13:52:27.918 [INFO] [main] Starting Enhanced Dual Protocol Gateway with NAT Support
2026-06-13 13:52:27.917 [INFO] [main] ============================================================
2026-06-13 13:52:27.916 [INFO] [main] [MONITOR] Connection monitor started
2026-06-13 13:52:26.768 [INFO] [main] [MAIN] Received signal 15, shutting down...
2026-06-13 13:51:48.534 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-13 13:50:48.473 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-13 13:50:48.472 [INFO] [main] [CLEANUP] Removed stale UDP client ('46.114.227.83', 17451)
2026-06-13 13:49:48.411 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-13 13:48:48.350 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-13 13:47:48.301 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-13 13:46:48.240 [INFO] [main] [CLEANUP] Removed stale UDP client ('46.114.226.223', 18784)
2026-06-13 13:45:48.180 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-13 13:45:48.179 [INFO] [main] [CLEANUP] Removed stale UDP client ('172.20.0.1', 42331)
2026-06-13 13:44:48.118 [INFO] [main] [CLEANUP] Active connections - UDP: 2, TCP: 0, Boxes: 2
2026-06-13 13:43:48.106 [INFO] [main] [CLEANUP] Active connections - UDP: 2, TCP: 0, Boxes: 2
2026-06-13 13:42:48.062 [INFO] [main] [CLEANUP] Active connections - UDP: 1, TCP: 0, Boxes: 1
2026-06-13 13:41:48.058 [INFO] [main] [UDP] UDP server listening on 0.0.0.0:5683
2026-06-13 13:41:48.058 [INFO] [main] [TCP] TCP server listening on 0.0.0.0:5684
2026-06-13 13:41:48.057 [INFO] [main] [UDP] Starting UDP server on port 5683
2026-06-13 13:41:48.057 [INFO] [main] [MAIN] TCP server thread started